TipiWiki2

[ PyThon.2006-08-01-11-39 ]

edit | Recent Changes | Find Page | All Pages | Front Page |

Einführungen:

http://www.thomas-guettler.de/vortraege/python/einfuehrung.html
http://www.silverymoon.de/uni/python/node1.html

Programmieren Lernen m. Python

http://www.freenetpages.co.uk/hp/alan.gauld/german/
Super! Hierin wird auch beschrieben, wie man mit Tk - in Python enthalten - GUI's programmiert.

http://www.cl.uni-heidelberg.de/kurs/skripte/prog1/html/index.html
komplettes Skript zur Python Programmierung (inkl. GUI)

Indexing, Slicing

s = 'albrechtdürer', s[1], s[2:], s[:6], s[3:5]

Tupel, Strings (Unveränderliche Datentypen)


Listen, Dictionaries (Veränderbare Datentypen)

a = [1,2,3,'frei']
a.sort, a.index(4), a.index('frei'), del(a[3])

d = {'blau' : 2, 'grün' : 3}
d['rot'] = {'hellrot' : 23, 'dunkelrot' : 2}
d['rot']['hellrot'] = 1
d.has_key['hellrot']
d['rot'].has_key['hellrot']
d.keys()
len(d)

http://rgruet.free.fr/#QuickRef