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