On Jun 14, 7:13 pm, dmitrey <[EMAIL PROTECTED]> wrote:
> hi all,
> what's the best way to write Python dictionary to a file?
>
> (and then read)
>
> There could be unicode field names and values encountered.
I'm presuming that "field names" means "dictionary keys". If not
unicode, are the remainde
On 17:13, sabato 14 giugno 2008 dmitrey wrote:
> hi all,
> what's the best way to write Python dictionary to a file?
>
Pickle or ConfigParser.
You may gather more details at http://docs.python.org/lib/persistence.html
--
Mailsweeper Home : http://it.geocities.com/call_me_not_now/index.html
--
h
dmitrey wrote:
> hi all,
> what's the best way to write Python dictionary to a file?
>
> (and then read)
>
> There could be unicode field names and values encountered.
> Thank you in advance, D.
pickle/cPickle, perhaps, if you're willing to trust the file (since it's
basically eval()ed)? Or JSON
hi all,
what's the best way to write Python dictionary to a file?
(and then read)
There could be unicode field names and values encountered.
Thank you in advance, D.
--
http://mail.python.org/mailman/listinfo/python-list