Chapter 7. Persistence and Databases
- IntroductionRecipe 7.1.
Serializing Data Using the marshal ModuleRecipe 7.2.
Serializing Data Using the pickle and cPickle ModulesRecipe 7.3.
Using Compression with PicklingRecipe 7.4.
Using the cPickle Module on Classes and InstancesRecipe 7.5.
Holding Bound Methods in a Picklable WayRecipe 7.6.
Pickling Code ObjectsRecipe 7.7.
Mutating Objects with shelveRecipe 7.8.
Using the Berkeley DB DatabaseRecipe 7.9.
Accesssing a MySQL DatabaseRecipe 7.10.
Storing a BLOB in a MySQL DatabaseRecipe 7.11.
Storing a BLOB in a PostgreSQL DatabaseRecipe 7.12.
Storing a BLOB in a SQLite DatabaseRecipe 7.13.
Generating a Dictionary Mapping Field Names to Column NumbersRecipe 7.14.
Using dtuple for Flexible Accessto Query ResultsRecipe 7.15.
Pretty-Printing the Contents of Database CursorsRecipe 7.16.
Using a Single Parameter-Passing Style Across Various DB API ModulesRecipe 7.17.
Using Microsoft Jet via ADORecipe 7.18.
Accessing a JDBC Database from a Jython ServletRecipe 7.19.
Using ODBC to Get Excel Data with Jython