Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 1 | .. _persistence: |
| 2 | |
| 3 | **************** |
| 4 | Data Persistence |
| 5 | **************** |
| 6 | |
| 7 | The modules described in this chapter support storing Python data in a |
| 8 | persistent form on disk. The :mod:`pickle` and :mod:`marshal` modules can turn |
| 9 | many Python data types into a stream of bytes and then recreate the objects from |
| 10 | the bytes. The various DBM-related modules support a family of hash-based file |
Benjamin Peterson | 6ba2332 | 2008-09-03 22:59:38 +0000 | [diff] [blame] | 11 | formats that store a mapping of strings to other strings. |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 12 | |
| 13 | The list of modules described in this chapter is: |
| 14 | |
| 15 | |
| 16 | .. toctree:: |
| 17 | |
| 18 | pickle.rst |
Alexandre Vassalotti | f7fa63d | 2008-05-11 08:55:36 +0000 | [diff] [blame] | 19 | copyreg.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 20 | shelve.rst |
| 21 | marshal.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 22 | dbm.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 23 | sqlite3.rst |