shelve vs pickle

Sheila King sheila at spamcop.net
Sat Sep 15 03:28:17 EDT 2001


On Sat, 15 Sep 2001 00:35:36 -0600 (MDT), kosh at aesaeion.com wrote in
comp.lang.python in article
<mailman.1000535778.24140.python-list at python.org>:

:What you might want to consider is using the ZODB. It is the object
:database that backs zope but it can be used seperately from it easily. It
:would give you transactions on your objects, rollbacks, version locking
:etc. Overall I seems better then either shelve or pickle are by default.
:Overall the ZODB is pretty lightweight and seems to run pretty fast.
:Overall I see the ZODB as largely replacing what shelve does.

Doesn't using ZODB require using some sort of server (database server
and/or web server?)?

If so, I don't see how it would "replace" a module that has no such
requirement. Not all of us would be able to run a database server for
our scripts.

--
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org/




More information about the Python-list mailing list