Python Cookbook

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Z]

C extensions

     building         with Pyrex

     debuggingC programming language

     coding Python extensions     cPickle as built-in module for storing/retrieving data [See also cPickle module] [See also cPickle module]

C++ library, using in Python C++ syntax for I/Ocaching

     attribute values     automatic 2nd     with FIFO pruning

callback functions, avoiding lambda in writing

candygram module

case-insensitive text strings

Celsius temperature, converting to other scales center method (string objects)

CGI (Common Gateway Interface) 2nd

     programs    scripts [See CGI scripts]

     testing     uploading files with

CGI scripts     handling URLs in     using Microsoft Jet via ADO

Chainmap class

ChangeCheckerMixin class

characters

     accented, entering in Tkinter widgets

characters method

class

     instances, upgrading on reload

     objects

     statement

_ _class_ _ attribute

classes [See also metaclasses] [See also metaclasses]

     adding attributes to

     chaining dictionary lookups     classic, as legacy feature     creating new instances of

     defining through inheritance

     finding all methods of     functionality supplying across range of

     instance, changing on the fly

     instantiating

     restricting attribute setting

     saving/restoring with cPickle

     Singleton

     subclassing closures

CLSID (globally unique identifier) Cocoa toolkit, building GUI programmatically

code     development, classic classes not recommended for

     maintaining by use of new-style classes     programming         databases and

     reusing through inheritancecode objects     altering in a decorator

     extracting from __init__ objects

     inserting in dynamically generated modules

     pickling

codecs module, printing Unicode characters to standard output collecting named items

collections.deque

     subclassing for ring buffer implementation     using for FIFO implementations

COM     connecting to running instance of Internet Explorer

     driving ADO and Jet with     driving Microsoft Word with     parsing XML with MSHTML

     reading Microsoft Outlook contacts

     registering/unregistering DLLs

comma (,)

commands

     running repeatedly

     scheduling

comments, tracing in debug mode

Common Gateway Interface [See CGI]

Common Object Request Broker Architecture [See CORBA]

comparison key (for sorting)

composition

compression

     of objects     persistence with computer games, relational database design inappropriate for

computers, monitoring

concurrent programming conditionals. disabling while debugging

connecting to running instance of Internet Explorer

_const class

const.py module

constants, defining

containsAny method

containsOnly method content type, checking via HTTP

converting     among image formats

     among temperature scales 2nd     characters to numeric code

     Python source into HTML markup     text strings         to lowercase/uppercase

     time zonescookies     handling while fetching web pages

     Internet Explorer, finding

__copy__ method

copy module

copy.copy function copy_reg module, extending pickle/cPickle modules

copying

     mailbox files     objects

CORBA (Common Object Request Broker Architecture) 2nd     implementing server and client

CoreGraphics module counts method cPickle module [See also pickling] [See also pickling]

     classes and instances

     serializing data

     using compression with

CRCs (cyclic redundancy checks)

CreateMutex function

creating

     class instances

     share on Windows

cStringIO module 2nd

ctypes module

currying

cursor objects

custom metaclasses, synchronization and cyclic redundancy checks (CRCs)

Категории