python and mysqldb

Robert Kasunic robert at kasunic.de
Wed Mar 21 17:55:04 CET 2001


Hello Matthias,

Matthias Huening wrote:

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

thank you for your quick help. The solution you proposed works well. 
Could you give me reference for further reading on this topic?

Robert






More information about the Python-list mailing list