| Line | |
|---|
| 1 | \chapter{Data Persistence}
|
|---|
| 2 | \label{persistence}
|
|---|
| 3 |
|
|---|
| 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.
|
|---|
| 12 |
|
|---|
| 13 | The list of modules described in this chapter is:
|
|---|
| 14 |
|
|---|
| 15 | \localmoduletable
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.