Re: Passing tuples of tuples to sqlite

2009-09-29 Thread lolmc
On 28 Sep, 17:49, Dennis Lee Bieber wlfr...@ix.netcom.com wrote: On Mon, 28 Sep 2009 03:35:44 -0700 (PDT), xera121 lolmcbr...@googlemail.com declaimed the following in gmane.comp.python.general: Hi I have tuples in the format shown below:

Re: Passing tuples of tuples to sqlite

2009-09-29 Thread lolmc
I have had success using the hashlib library to do a hexhash of the tuples and then put each tuple in it's own field.The hash is successfully being used as a test for uniqueness. Thanks Lol Mc -- http://mail.python.org/mailman/listinfo/python-list

Re: Passing tuples of tuples to sqlite

2009-09-28 Thread lolmc
On 28 Sep, 11:35, xera121 lolmcbr...@googlemail.com wrote: 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

Re: Passing tuples of tuples to sqlite

2009-09-28 Thread lolmc
On 28 Sep, 13:52, lolmc lolmcbr...@googlemail.com wrote: On 28 Sep, 11:35, xera121 lolmcbr...@googlemail.com wrote: 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