Python Pocket Reference

Front Cover
"O'Reilly Media, Inc.", 2002 - Computers - 124 pages

Python is optimized for quality, productivity, portability, and integration. Hundreds of thousands of Python developers around the world rely on Python for Internet scripting, systems programming, user interfaces, and product customization. Python is available on all major computing platforms, including commercial versions of Unix, Linux, Windows, and Mac OS. It's portable, powerful, and remarkably easy to use. It's also an interpreted language, designed for rapid application development and deployment.

Python Pocket Reference, 2nd Editionis a companion volume to two O'Reilly Animal Guides,Programming Python, 2nd EditionandLearning Python. It summarizes Python statements and types, built-in functions, commonly used library modules, and other prominent Python language features. This pocket reference covers the latest Python release 2.2, and provides quick access to just what you're looking for. It is a short, concise reference for the most commonly used libraries and tools. The new edition also includes new summary material for Python's GUI, Internet, and database programming tools. The author, Mark Lutz, is a Python luminary-who has been on the Python scene since its inception.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Selected pages

Contents

Introduction
1
Conventions
2
Environment Variables
4
Builtin Types and Operators Operators and Precedence
5
Specific Builtin Types
10
Statements and Syntax
24
Specific Statements
27
Namespace and Scope Rules
38
Builtin Modules
64
The sys Interpreter Module
65
The string Module and Methods
70
The os System Module
76
The re PatternMatching Module
91
Object Persistence Modules
98
Tkinter GUI Module and Tools
100
Internet Modules and Tools
105

ObjectOriented Programming
41
Operator Overloading Methods
43
Builtin Functions
51
Builtin Exceptions
59
Builtin Attributes
63
Other Builtin Modules
108
Major PythonC API Tools
110
Python Portable SQL Database API
118
Python Idioms and Hints
122
Copyright

Common terms and phrases

About the author (2002)

Mark Lutz is an independent Python trainer, writer, and software developer, and is one of the primary figures in the Python community. He is the author of the O'Reilly books Programming Python and Python Pocket Reference (both in 2nd Editions), and co-author of Learning Python (both in 2nd Editions). Mark has been involved with Python since 1992, began teaching Python classes in 1997, and has instructed over 90 Python training sessions as of early 2003. In addition, he holds BS and MS degrees in computer science from the University of Wisconsin, and over the last two decades has worked on compilers, programming tools, scripting applications, and assorted client/server systems. Whenever Mark gets a break from spreading the Python word, he leads an ordinary, average life with his kids in Colorado. Mark can be reached by email at , or on the web at http://www.rmi.net/~lutz.

Bibliographic information