Need to store dictionary in file

S.Selvam Siva s.selvamsiva at gmail.com
Mon Feb 23 15:38:56 EST 2009


Hi all,

I have a dictionary in which each key is associated with a list as value.

eg: *dic={'a':['aa','ant','all']}*

The dictionary contains *1.5 lakh keys*.
Now i want to store it to a file,and need to be loaded to python program
during execution.
I expect your ideas/suggestions.

Note:I think cPickle,bsddb can be used for this purpose,but i want to know
the best solution which runs *faster*.

-- 
Yours,
S.Selvam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090224/8cb46372/attachment.html>


More information about the Python-list mailing list