Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Daryl Milne
Writing MySQL Scripts with Python DB-API - http://www.kitebird.com/article...
cursor.execute ("SELECT name, category FROM animal") rows = cursor.fetchall () for row in rows: print "%s, %s" % (row[0], row[1]) print "Number of rows returned: %d" % cursor.rowcount - Daryl Milne