Converting old "shelve" databases to gdbm
RayOsborn at mac.com
RayOsborn at mac.com
Wed Dec 26 13:14:56 EST 2007
More information about the Python-list mailing list
Wed Dec 26 13:14:56 EST 2007
- Previous message (by thread): Converting old "shelve" databases to gdbm
- Next message (by thread): $
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Dec 24, 10:01 pm, Istvan Albert <istvan.alb... at gmail.com> wrote: > On Dec 24, 7:38 pm, RayOsb... at mac.com 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. Thanks for the suggestion. I had forgotten that pickle by default has an ASCII format - I've now written a couple of scripts, first in Python 2.2 and then in the current default version to do the translation. A bit tedious, but it works.
- Previous message (by thread): Converting old "shelve" databases to gdbm
- Next message (by thread): $
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list