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
pickle.Pickler.dispatch_table
  • References/Python/Python/Data Persistence

dispatch_table A pickler object’s dispatch table is a registry of reduction functions of the kind which can be declared

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
pickle.dumps()
  • References/Python/Python/Data Persistence

pickle.dumps(obj, protocol=None, *, fix_imports=True) Return the pickled representation of the object as a

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

dumbdbm.close() Close the dumbdbm database.

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

fetchmany(size=cursor.arraysize) Fetches the next set of rows of a query result, returning a list. An empty list is returned

2025-01-10 15:47:30
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
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
pickle.Pickler.persistent_id()
  • References/Python/Python/Data Persistence

persistent_id(obj) Do nothing by default. This exists so a subclass can override it. If

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

gdbm.reorganize() If you have carried out a lot of deletions and would like to shrink the space used by the gdbm

2025-01-10 15:47:30