Sign in
or
Join FriendFeed
FriendFeed
is the easiest way to share online.
Learn more »
Join FriendFeed
Daryl Milne
Writing MySQL Scripts with Python DB-API -
http://www.kitebird.com/article...
September 11
from
delicious
-
Comment
-
Like
-
Share
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