pickle.Pickler
  • References/Python/Python/Data Persistence

class pickle.Pickler(file, protocol=None, *, fix_imports=True) This takes a binary file for writing a pickle data stream.

2025-01-10 15:47:30
pickle.Unpickler
  • References/Python/Python/Data Persistence

class pickle.Unpickler(file, *, fix_imports=True, encoding="ASCII", errors="strict") This takes a binary file for reading a

2025-01-10 15:47:30
dbm.open()
  • References/Python/Python/Data Persistence

dbm.open(file, flag='r', mode=0o666) Open the database file file and return a corresponding object.

2025-01-10 15:47:30
shelve.Shelf.sync()
  • References/Python/Python/Data Persistence

Shelf.sync() Write back all entries in the cache if the shelf was opened with writeback set to

2025-01-10 15:47:30
shelve.Shelf.close()
  • References/Python/Python/Data Persistence

Shelf.close() Synchronize and close the persistent dict object. Operations on a closed shelf will fail with a

2025-01-10 15:47:30
shelve.open()
  • References/Python/Python/Data Persistence

shelve.open(filename, flag='c', protocol=None, writeback=False) Open a persistent dictionary. The filename specified is the

2025-01-10 15:47:30
sqlite3.Connection.iterdump()
  • References/Python/Python/Data Persistence

iterdump() Returns an iterator to dump the database in an SQL text format. Useful when saving an in-memory database for later

2025-01-10 15:47:30
pickle.PicklingError
  • References/Python/Python/Data Persistence

exception pickle.PicklingError Error raised when an unpicklable object is encountered by Pickler. It inherits

2025-01-10 15:47:30
dbm.gnu.gdbm.close()
  • References/Python/Python/Data Persistence

gdbm.close() Close the gdbm database.

2025-01-10 15:47:30
sqlite3.Connection.executemany()
  • References/Python/Python/Data Persistence

executemany(sql[, parameters]) This is a nonstandard shortcut that creates a cursor object by calling the cursor()

2025-01-10 15:47:30