shelve: choice of database package

Alex Martelli aleaxit at
Tue Oct 5 11:08:36 CEST 2004

Ajay <abra9823 at> wrote:

> hi!
> i am using shelve in a piece of code i have. The code originally used
> 'bsddb' but the Berkeley DB library isn't present on my platform (WinCE).
> It says in the library reference that "The choice of which database package
> will be used (such as dbm, gdbm or bsddb) depends on which interface is
> available".
> now i can say its not using bsddb (since its not present). Is there a way
> of telling which package it is using?

See the whichdbm module in the standard library.


More information about the Python-list mailing list