>>> import dbi
>>> import odbc
>>> conn=odbc.odbc("DSN=odbc-moo-cows")
>>> cursor=conn.cursor()
>>> cursor.execute("CREATE TABLE foo (bar INT)")
-1
>>> cursor.execute("INSERT INTO foo (bar) VALUES (42)")
1
>>> cursor.execute("SELECT * FROM foo")
0
>>> print cursor.fetchall()
[(42,)]
>>> cursor.execute("DROP TABLE foo")
-1