filename The filename to open. flags How to open the file. "r" for reading, "w" for writing, etc. mode If creating a new file, the mode bits for the new file (e.g. os.O_RDWR).setdefault($self, key, default=b'', /) --
Return the value for key if present, otherwise default.
If key is not in the database, it is inserted with default as the value.get($self, key, default=b'', /) --
Return the value for key if present, otherwise default.keys($self, /) --
Return a list of all keys in the database.close($self, /) --