The pocket reference is a quick-reference book based on Python 1.5.1. It summarizes the core language, built-in functions and exceptions, and major library modules and tools. As a preview, the top-level table of contents is listed below.
Standard disclaimer: This is always prone to change until the book is actually printed, but the chapters list below should be very close to the finished product's contents. Page numbers are for a draft copy, and have only a relative relation to the actual book (typesetting usually expands the page count).
CONVENTIONS 2 COMMAND-LINE OPTIONS 2 ENVIRONMENT VARIABLES 3 BUILT-IN TYPES AND OPERATORS 4 STATEMENTS AND SYNTAX 16 NAMESPACE AND SCOPE RULES 22 OBJECT-ORIENTED PROGRAMMING 23 BUILT-IN FUNCTIONS 28 BUILT-IN EXCEPTIONS 34 BUILT-IN ATTRIBUTES 36 MAJOR BUILT-IN MODULES 36 THE SYS MODULE 37 THE STRING MODULE 39 THE OS MODULE 42 THE POSIX MODULE 43 THE POSIXPATH MODULE 49 THE MATH MODULE 50 THE TIME MODULE 50 THE RE MODULE 51 THE REGEX MODULE 55 OTHER BUILT-IN MODULES 57 PERSISTENCE: DBM, SHELVE, PICKLE 59 DEBUGGER AND PROFILER 61 PYTHON MODE FOR EMACS 64 PYTHON IDIOMS AND HINTS 67
Back to the main Python Pocket Reference page
Back to my homepage