470,849 Members | 1,440 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

python shelve on win vs unix

Hi,

Have a problem using shelve on windows and unix. While my windows box
supports dbhash, my unix box supports gdbm, and neither supports what the
other does. The problem arises when I try to use the shelve generated in
unix on my windows box.

Hoepfully there are alternatives to installing the berkeley db (needed by
dbhash) on unix, which I'm looking at now. I'm no unix guru and would
probably use "forever" to get it up and running.

Any suggestions for a quick and dirty solution (such as alternatives to
shelve for persistent storage) to this problem would be appreciated.

regards, Tor Erik
Feb 9 '07 #1
1 1499
On Feb 9, 6:06 am, Tor Erik Soenvisen <torer...@hotmail.comwrote:
Any suggestions for a quick and dirty solution (such as alternatives to
shelve for persistent storage) to this problem would be appreciated.
the easiest might be to just pickle your data into files. You could
also use Durus

http://www.mems-exchange.org/software/durus/

or ZODB, there are also some other object persistence libraries that
I've recently seen mentioned.

i.

Feb 9 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by kramb64 | last post: by
reply views Thread by Glenn R Williams | last post: by
10 posts views Thread by Andrew Dalke | last post: by
32 posts views Thread by Philippe C. Martin | last post: by
8 posts views Thread by Paul Rubin | last post: by
3 posts views Thread by Michele Petrazzo | last post: by
reply views Thread by Kurt B. Kaiser | last post: by
122 posts views Thread by Edward Diener No Spam | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.