Chapter 8. Databases and Persistence


    Section 8.1.  Introduction

    Section 8.2.  Serializing Data Using the marshal Module

    Section 8.3.  Serializing Data Using the pickle and cPickle Modules

    Section 8.4.  Using the cPickle Module on Classes and Instances

    Section 8.5.  Mutating Objects with shelve

    Section 8.6.  Accesssing a MySQL Database

    Section 8.7.  Storing a BLOB in a MySQL Database

    Section 8.8.  Storing a BLOB in a PostgreSQL Database

    Section 8.9.  Generating a Dictionary Mapping from Field Names to Column Numbers

    Section 8.10.  Using dtuple for Flexible Access to Query Results

    Section 8.11.  Pretty-Printing the Contents of Database Cursors

    Section 8.12.  Establishing Database Connections Lazily

    Section 8.13.  Accessing a JDBC Database from a Jython Servlet

    Section 8.14.  Module: jet2sql Creating a SQL DDL from an Access Database



Python Cookbook
Python Cookbook
ISBN: 0596007973
EAN: 2147483647
Year: 2005
Pages: 346

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