PyDocs

Nav

Data Persistence

open

dbm.sqlite3

function (source) not WASI
  • open(filename, /, flag='r', mode=0o666)
Open a dbm.sqlite3 database and return the dbm object.

The 'filename' parameter is the name of the database file.

The optional 'flag' parameter can be one of ...:
    'r' (default): open an existing database for read only access
    'w': open an existing database for read/write access
    'c': create a database if it does not exist; open for read/write access
    'n': always create a new, empty database; open for read/write access

The optional 'mode' parameter is the Unix file access mode of the database;
only used when creating a new database. Default: 0o666.
0 Examples
No examples for dbm.sqlite3/open.
See Also
No see-alsos for dbm.sqlite3/open
0 Notes
No notes for open