Chapter 7. Persistence and Databases


    Introduction

    Recipe 7.1.  Serializing Data Using the marshal Module

    Recipe 7.2.  Serializing Data Using the pickle and cPickle Modules

    Recipe 7.3.  Using Compression with Pickling

    Recipe 7.4.  Using the cPickle Module on Classes and Instances

    Recipe 7.5.  Holding Bound Methods in a Picklable Way

    Recipe 7.6.  Pickling Code Objects

    Recipe 7.7.  Mutating Objects with shelve

    Recipe 7.8.  Using the Berkeley DB Database

    Recipe 7.9.  Accesssing a MySQL Database

    Recipe 7.10.  Storing a BLOB in a MySQL Database

    Recipe 7.11.  Storing a BLOB in a PostgreSQL Database

    Recipe 7.12.  Storing a BLOB in a SQLite Database

    Recipe 7.13.  Generating a Dictionary Mapping Field Names to Column Numbers

    Recipe 7.14.  Using dtuple for Flexible Accessto Query Results

    Recipe 7.15.  Pretty-Printing the Contents of Database Cursors

    Recipe 7.16.  Using a Single Parameter-Passing Style Across Various DB API Modules

    Recipe 7.17.  Using Microsoft Jet via ADO

    Recipe 7.18.  Accessing a JDBC Database from a Jython Servlet

    Recipe 7.19.  Using ODBC to Get Excel Data with Jython



Python Cookbook
Python Cookbook
ISBN: 0596007973
EAN: 2147483647
Year: 2004
Pages: 420

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net