Try the pickle module, it dumps nearly any datastruct (except file
object) in a string.
You can load it back afterwards.

On 6/1/06, Python newsgroup <[EMAIL PROTECTED]> wrote:
Hi,

What is the most efficient way to enter python binary data such as lists or
dictionaries in to sqlite? Has anyone had any experiences with this? We will
be inserting a list of lists of integers into our database.
For example:
[[1,2,3],[1,4,6],[1,1,1],[2,4,6],[12,32,4],...,[1,3,4]]

Any suggestions will be appreciated

cheers,
Bijan




--
Julien

Reply via email to