GNU Info

Info Node: (python2.1-lib.info)dumbdbm

(python2.1-lib.info)dumbdbm


Next: dbhash Prev: anydbm Up: Optional Operating System Services
Enter node , (file) or (file)node

Portable DBM implementation
===========================

Portable implementation of the simple DBM interface.

A simple and slow database implemented entirely in Python.  This should
only be used when no other DBM-style database is available.

`open(filename[, flag[, mode]])'
     Open the database file FILENAME and return a corresponding object.
     The FLAG argument, used to control how the database is opened in
     the other DBM implementations, is ignored in `dumbdbm'; the
     database is always opened for update, and will be created if it
     does not exist.

     The optional MODE argument is ignored.

`error'
     Raised for errors not reported as `KeyError' errors.

See also:
     Note: anydbm Generic interface to `dbm'-style databases.  Note:
     whichdb Utility module used to determine the type of an existing
     database.


automatically generated by info2www version 1.2.2.9