PyDocs

Nav

Data Persistence

open

dbm.gnu

functionnot Androidnot iOSnot WASI
  • open(filename, flag='r', mode=0o666, /)
Open a GDBM database and return a gdbm object.
Changed in 3.2, 3.11, 3.13
  • 3.2: Added the get() and setdefault() methods.
  • 3.11: filename accepts a path-like object.
  • 3.13: Added the clear() method.
0 Examples
No examples for dbm.gnu/open.
See Also
No see-alsos for dbm.gnu/open
0 Notes
No notes for open