Python Cookbook

[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] [Y] [Z]

packing 

Paragraph class 

paragraphs, defining 

parentheses ( )

    tuples, and 

parse 

parsefile 

Parser class 

parsing  2nd 

    command files 

    parsing packages 

    strategies for 

    strings into date/time objects portably 

    vs. lexing 

pass_ (poplib module) 

passwords, generating randomly 

    generating non-randomly 

pastiche.py 

path 

    Python search path, dynamically changing 

pathnames, treating as objects 

paths

    path to the interpreter, inclusion in a script 

    processing of parts 

    proper coding in CGI scripts 

pattern matches, dispatching based on 

PhotoImage objects 

    master argument 

pickle module  2nd 

    uses for 

plain strings 

plus operator (+) 

PLY parser generator 

Pmw 

polling 

polymorphism  2nd 

    type checking and 

polynomials, evaluating 

pop 

POP3 interactive mailbox inspector 

popen2 module 

poplib module 

portalocker.py module 

Posix and NT, file-locking on 

PostgreSQL database application

    BLOBs, storage of 

predicate tests, evaluating across sequences 

Print 

print statement  2nd 

print_exc_plus 

priority queues, modeling 

processes 

profile module 

profilewrap module 

profiling 

    Python code with C modules 

ProgID string 

program introspection 

programming languages 

properties 

    implementing 

property 

pseudotty functions 

psycopg module 

publish.py 

Publish/Subscribe broadcasting 

    advantages 

    distributed middleware architecture, using in 

.py extension and WSH 

Py-DBAPI (Python DB Application Programming Interface) 

Py_BuildValue  2nd 

py_compile module 

Py_DebugTrap 

Py_DECREF 

    memory problems and 

Py_INCREF 

    memory problems and 

Pyana 

PyArg_ParseTuple 

PyCFunction_New 

PyClass_New 

pyfort 

PyGTK toolkit 

PyHBClient.py 

PyHBServer.py 

PyHeartBeat 

PyImport_LoadDynamicModule 

PyMethod_New 

PyMethodDef statements 

PyNumber_Float 

PyObject_GetIter 

    for accessing a Python sequence sequentially 

        necessary conditions for use 

PyQt 

.pys extension and WSH 

PySequence_Fast 

    arguments 

    for accessing a Python sequence sequentially 

    reference returned 

PySequence_Fast_GET_ITEM 

Python

    application-specific languages, creating with 

    C language enum type, simulating 

    COM, ADSI instantiation using 

    concurrent processing, and 

    conditional (ternary) operator, idiom for 

    connecting C routines to Python code 

    data storage and retrieval facilities 

    dictionary type, hash table used for 

    distributed programming, and 

    Expat, direct access of 

    Fortran routines, connecting to 

    Internet protocols, and 

    Java libraries, and 

    methods as attributes 

    module-building tools 

    new-style classes  2nd 

    OOP and non-OOP functionality 

    performance, measuring compared to C 

    PLY and SPARK parser generators 

    raw-string syntax 

    running profiler on code that includes C modules 

    search path

        dynamically changing 

        finding a file on 

    sorting algorithms used in 

    source code, colorizing using the tokenizer 

    standard library 

    strings 

    text and binary file handling 

    toolkits 

    variables, definition 

    XML, and 

    XML-RPC, and 

Python and Tkinter Programming 

Python code, replacing with code-execution results 

Python DB Application Programming Interface  [See Py-DBAPI]

Python interpreter

    -u commandline option 

Python objects, serialization and reconstruction 

Python programming language

    Perl, compared to 

pythoncom.PumpWaitingMessages 

PythonWin toolkit 

PyXML package 

Категории