blob: 0bcdad21fab9916276ffb3aa353780fcab31fc1b [file] [log] [blame]
Andrew M. Kuchlingaffd42d2005-12-22 20:12:39 +00001\chapter{Data Persistence}
2\label{persistence}
3
4The modules described in this chapter support storing Python data in a
5persistent form on disk. The \module{pickle} and \module{marshal}
6modules can turn many Python data types into a stream of bytes and
7then recreate the objects from the bytes. The various DBM-related
8modules support a family of hash-based file formats that store a
9mapping of strings to other strings. The \module{bsddb} module also
10provides such disk-based string-to-string mappings based on hashing,
11and also supports B-Tree and record-based formats.
12
13The list of modules described in this chapter is:
14
15\localmoduletable