Tuesday, August 21, 2007

Python Library Reference (Outline)

1. Introduction
2. Built-in Objects
3. Built-in Types
4. String Services
5. Data Types
6. Numeric and Mathematical Modules
7. Internet Data Handling
8. Structured Markup Processing Tools
9. File Formats
10. Cryptographic Services
11. File and Directory Access
12. Data Compression and Archiving
13. Data Persistence
14. Generic Operating System Services
15. Optional Operating System Services
16. Unix Specific Services
17. Interprocess Communication and Networking
18. Internet Protocols and Support
19. Multimedia Services
20. Graphical User Interfaces with Tk
21. Internationalization
22. Program Frameworks
23. Development Tools
24. The Python Debugger
25. The Python Profilers
26. Python Runtime Services
27. Custom Python Interpreters
28. Restricted Execution
29. Importing Modules
30. Python Language Services
31. Python Compiler Packages
32. Abstract Syntax Trees
33. Miscellaneous Services
34. SGI IRIX Specific Services
35. Sun OS Specific Services
36. MS Windows Specific Services

Python Reference Manual

1. Introduction
Alternate Implementations
Notation

2. Lexical Analysis
Line Structure
Logical Lines
Physical Lines
Comments
Encoding declarations
Explicit line joining
Implicit line joining
Blank lines
Indentation
Whitespace between tokens
Other tokens
Identifiers and keywords
Keywords
Reserved classes of identifiers
Literals
String literals
String literal concatenation
Numeric literals
Integer and long integer literals
Floating point literals
Imaginary literals
Operators
Delimeters

3. Data model
Objects, values, and types
The standard type hierarchy
New-style and classic classes
Special method names
Basic customization
Customizing attribute access
Customizing class creation
Emulating callable objects
Emulating container types
Additional methods for emulation of sequence types
Emulating numerical types
Coercion rules
With Statement Context Managers

4. Execution model
Naming and binding
Interaction with dynamic features
Exceptions

5. Expressions
Arithmetic conversions
Atoms
Identifiers(Names)
Literals
Parenthesized forms
List displays
Generator expressions
Dictionary displays
String conversions
Primaries
Attribute references
Subscriptions
Slicings
Calls
The power operator
Unary arithmetic operations
Binary arithmetic operations
Shifting operations
Binary bit-wise operations
Comparisons
Boolean operations
Lambdas
Expression lists
Evaluation order

6. Simple statements
Expression statements
Assert statements
Assignment statements
Augmented assignment statements
The "pass" statement
The "del" statement
The "print" statement
The "return" statement
The "yield" statement
The "raise" statement
The "break" statement
The "continue" statement
The "import" statement
Future statements
The "global" statement
The "exec" statement
Compound statements
The "if" statement
The "while" statement
The "for" statement
The "try" statement
The "with" statement
Function definitions
Class definitions
Top-level components
Complete Python programs
File input
Interactive input
Expression input