Re: Converting old "shelve" databases to gdbm

2007-12-26 Thread RayOsborn
On Dec 24, 10:01 pm, Istvan Albert <[EMAIL PROTECTED]> wrote: > On Dec 24, 7:38 pm, [EMAIL PROTECTED] wrote: > > > Any tips welcome. > > pickling has a text protocol that should be compatible across python > versions. Pickle  each of your database entries to a different file, > then read them in th

Re: Converting old "shelve" databases to gdbm

2007-12-24 Thread Istvan Albert
On Dec 24, 7:38 pm, [EMAIL PROTECTED] wrote: > Any tips welcome. pickling has a text protocol that should be compatible across python versions. Pickle each of your database entries to a different file, then read them in the newer version of the script. i. -- http://mail.python.org/mailman/list

Converting old "shelve" databases to gdbm

2007-12-24 Thread RayOsborn
I have some old "shelve" databases created in Python 2.2 that use the old bsddb format, whereas the version of Python 2.4 installed by my web hosting service doesn't have bsddb available at all (or at least, it has, but probably not linked properly to the more recent Sleepy Cat versions of the Ber