shelve portability problem
Bill Janssen
janssen at parc.xerox.com
Thu Jul 29 15:37:33 EDT 1999
More information about the Python-list mailing list
Thu Jul 29 15:37:33 EDT 1999
- Previous message (by thread): Still Not Getting Comp.Object.Moderated?
- Next message (by thread): shelve portability problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Excerpts from ext.python: 29-Jul-99 Re: shelve portability problem
"Fredrik Lundh"@pythonwa (527*)
> alright. this might work:
> import shelve
> import gdbm
> def myopen(filename, flag="c"):
> return Shelf(gdbm.open(filename, flag))
> db = myopen("odbfile")
This should work. I use shelve with bsddb this way.
Bill
- Previous message (by thread): Still Not Getting Comp.Object.Moderated?
- Next message (by thread): shelve portability problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list