python and mysqldb

Matthias Huening mhuening at zedat.fu-berlin.de
Wed Mar 21 10:59:02 EST 2001


How did you try to insert the variable?
The following should work:
statement = "INSERT INTO test_table VALUES ('%s', 'test2', 'test3')" % temp


Matthias





More information about the Python-list mailing list