Cache a large list to disk

Chris iamlevis3 at hotmail.com
Mon May 17 22:26:34 EDT 2004


Ah, poifect =)  This'll do just fine.  Thanks, folks.


Karl Chen <quarl at nospam.quarl.org> wrote in message news:<mailman.26.1084827059.6949.python-list at python.org>...
> Use the pickle or shelve modules.
> 
> http://www.python.org/doc/current/lib/module-pickle.html
> 
> http://www.python.org/doc/current/lib/module-shelve.html
> 
> >>>>> "Chris" == Chris  <iamlevis3 at hotmail.com> writes:
>     Chris> straightforward manner.  But being new to Python, I
>     Chris> don't know how I can (hopefully easily) write this data
>     Chris> to a file, and then read it out into memory on
>     Chris> subsequent launches.



More information about the Python-list mailing list