Shelve or pickle module
Ville M. Vainio
vivainio at gmail.com
Sun May 18 11:54:38 EDT 2008
"Gabriel Genellina" <gagsl-py2 at yahoo.com.ar> writes:
> A shelve is just a persistent dictionary that uses pickle to store
> the objects. If you want to store one or a few objects, using
> pickle directly may be easier. Any problem you may have with pickle
> (nonpickleable objects, security risks) will happen with shelve too.
Shameless plug warning!
If you want to store pickles "directly" in a directory with
shelve-like dict API, you may also be interested in my "pickleshare"
module:
http://pypi.python.org/pypi/pickleshare/0.3
More information about the Python-list
mailing list