Bug #1627575: Added _open() method to FileHandler which can be used to reopen files...
[python.git] / Doc / lib / persistence.tex
blob0bcdad21fab9916276ffb3aa353780fcab31fc1b
1 \chapter{Data Persistence}
2 \label{persistence}
4 The modules described in this chapter support storing Python data in a
5 persistent form on disk. The \module{pickle} and \module{marshal}
6 modules can turn many Python data types into a stream of bytes and
7 then recreate the objects from the bytes. The various DBM-related
8 modules support a family of hash-based file formats that store a
9 mapping of strings to other strings. The \module{bsddb} module also
10 provides such disk-based string-to-string mappings based on hashing,
11 and also supports B-Tree and record-based formats.
13 The list of modules described in this chapter is:
15 \localmoduletable