pydoc > _dbm

📘 NAME

_dbm

🚀 Quick Reference

Use CaseCommandDescription
Open database for reading_dbm.open('file', 'r')Open an existing DBM database in read-only mode
Open database for writing_dbm.open('file', 'w')Open an existing DBM database for reading and writing
Create new database_dbm.open('file', 'c')Create a new DBM database (or open existing) with read/write access
Create new database (always truncate)_dbm.open('file', 'n', 0o666)Always create a new database, truncating if exists, with specified mode bits

📚 MODULE REFERENCE

https://docs.python.org/3.10/library/_dbm.html

⚠️ The following documentation is automatically generated from the Python source files. It may be incomplete, incorrect or include features that are considered implementation detail and may vary between Python implementations. When in doubt, consult the module reference at the location listed above.

📦 CLASSES

builtins.OSError(builtins.Exception)

🔧 class error(builtins.OSError)

Method resolution order:

Data descriptors defined here:


Methods inherited from builtins.OSError:

Static methods inherited from builtins.OSError:

Data descriptors inherited from builtins.OSError:

Methods inherited from builtins.BaseException:

Data descriptors inherited from builtins.BaseException:

🔧 FUNCTIONS

📊 DATA

library = 'Berkeley DB'

📁 FILE

/usr/lib/python3.10/lib-dynload/_dbm.cpython-310-x86_64-linux-gnu.so

_dbm
📘 NAME 🚀 Quick Reference 📚 MODULE REFERENCE 📦 CLASSES
🔧 class error(builtins.OSError)
🔧 FUNCTIONS 📊 DATA 📁 FILE

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-19 19:00 @216.73.216.114
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^