Passing tuples of tuples to sqlite

xera121 lolmcbride at googlemail.com
Mon Sep 28 06:35:44 EDT 2009


Hi
I have tuples in the format shown below:

(u('2','3','4'),u('5','6','7')........u('20','21','22'))

but they are not being accepted into sqlite - due I think to the
excessive quote marks which are confusing the issue when converting to
a string to send it to sqlite.
Can someone advise me on how I should format the strings so the whole
tuple of tuples will be accepted in the sqlite insert query?

Thanks

Lol McBride



More information about the Python-list mailing list