class pickle.Pickler(file, protocol=None, *, fix_imports=True) This takes a binary file for writing a pickle data stream.
class pickle.Unpickler(file, *, fix_imports=True, encoding="ASCII", errors="strict") This takes a binary file for reading a
dbm.open(file, flag='r', mode=0o666) Open the database file file and return a corresponding object.
Shelf.sync() Write back all entries in the cache if the shelf was opened with writeback set to
Shelf.close() Synchronize and close the persistent dict object. Operations on a closed shelf will fail with a
shelve.open(filename, flag='c', protocol=None, writeback=False) Open a persistent dictionary. The filename specified is the
iterdump() Returns an iterator to dump the database in an SQL text format. Useful when saving an in-memory database for later
exception pickle.PicklingError Error raised when an unpicklable object is encountered by Pickler. It inherits
gdbm.close() Close the gdbm database.
executemany(sql[, parameters]) This is a nonstandard shortcut that creates a cursor object by calling the cursor()
Page 6 of 10