Store multiple dictionaries in a file

Philipp H. Mohr phm4 at
Thu Jun 30 12:32:27 CEST 2005


I would like to store multiple dictionaries in a file, if possible one per
line. My code currently produces a new dictionary every iteration and
passes it on to another peace of code. In order to be able to re-run some
experiments at a later date I would like to store every dictionary in the
same file.
I looked at pickel, but that seems to require a whole file for each

It would be great if some one could tell me how to do that.

Thank you,

More information about the Python-list mailing list