save dictionary for later use?
jay graves
jaywgraves at gmail.com
Fri May 16 15:22:43 EDT 2008
On May 16, 2:17 pm, globalrev <skanem... at yahoo.se> wrote:
> i extract info from one file and put it into a dictionary.
> i want to save that dictionary for later use, how do i do that?
> might save a list of dictionaries or a list of classobjects too if
> there is any difference.
use the 'pickle' module.
http://docs.python.org/lib/module-pickle.html
...
Jay Graves
More information about the Python-list
mailing list