converting sqlite return values

2006-02-20 Thread bolly
Hi,
I've been putting Python data into a sqlite3 database as tuples but
when I retrieve them they come back as unicode data e.g
'u(1,2,3,4)'.How can I change it back to a tuple so I can use it as a
Python native datatype?
I have looked in the docs and seen there is a decode/encode method but
how do I do this?
Hope you can help.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: converting sqlite return values

2006-03-20 Thread bolly
Hi Gerhard,
Firstly my apologies for not replying sooner and secondly thanks for
the advice.I went down the route of changing the data I was entering so
that it was always an integer and zap - no more problems.
Thanks again,
Bolly

-- 
http://mail.python.org/mailman/listinfo/python-list