| Python 2.2 für Einsteiger | ||
|---|---|---|
| <<< Previous | Einführung anhand von Beispielen | Next >>> |
#!/usr/bin/python2.1
import MySQLdb
MySQLdb.connect(host='www.little-idiot.de',db='typefocus',user='typefocususer',passwd='typefocus,user')
c = db.cursor()
c.execute(myquery)
results = c.fetchall()
| <<< Previous | Home | Next >>> |
| Summe von Werten | Up | Generators |