4 ms·
This is probably what he meant: $ py Python 2.7.8 |Anaconda 2.1.0 (64-bit) ... on win32 >>> import bsddb >>> print bsddb.__doc__ Support for Berkeley DB 4.
by vram22 11y ago
This is probably what he meant:
$ py
Python 2.7.8 |Anaconda 2.1.0 (64-bit) ... on win32
>>> import bsddb
>>> print bsddb.__doc__
Support for Berkeley DB 4.3 through 5.3 with a simple interface.
For the full featured object oriented interface use the bsddb.db module instead. It mirrors the Oracle Berkeley DB C API.
- nashequilibrium 11y agoAhhh... Thanks, never knew that!
- alelos 11y agobsddb is deprecated as of python 2.6 and removed in python 3
- teraflop 11y agoThat particular back-end is deprecated, but the same API is provided by the dbm/gdbm/dumbdbm modules. Those still exist in Python 3, although they've been consolidated under one top-level module.
- jgalt212 11y agoalso, no unicode keys for this or shelve in 2.7 which really causes some coding pain. (not sure about 3.X)