Book description
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 Edition is a companion volume to two O'Reilly Animal Guides, Programming Python, 2nd Edition and Learning 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.
Table of contents
-
Python Pocket Reference, 2nd Edition
-
1. Python Pocket Reference
- Introduction
- Conventions
- Command-Line Options
- Environment Variables
- Built-in Types and Operators
- Specific Built-in Types
- Statements and Syntax
-
Specific Statements
- Assignment
- Expressions
- The print Statement
- The if Statement
- The while Statement
- The for Statement
- The pass Statement
- The break Statement
- The continue Statement
- The del Statement
- The exec Statement
- The def Statement
- The return Statement
- The yield Statement
- The global Statement
- The import Statement
- The from Statement
- The class Statement
- The try Statement
- The raise Statement
- The assert Statement
- Namespace and Scope Rules
- Object-Oriented Programming
- Operator Overloading Methods
- Built-in Functions
- Built-in Exceptions
- Built-in Attributes
- Built-in Modules
- The sys Interpreter Module
- The string Module and Methods
- The os System Module
- The re Pattern-Matching Module
- Object Persistence Modules
- Tkinter GUI Module and Tools
- Internet Modules and Tools
- Other Built-in Modules
- Major Python/C API Tools
- Python Portable SQL Database API
- Python Idioms and Hints
-
1. Python Pocket Reference
Product information
- Title: Python Pocket Reference, Second Edition
- Author(s):
- Release date: November 2001
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596001896
You might also like
audiobook
Rewire Your Brain 2.0
Not long ago, it was thought that the brain you were born with was the brain …
book
Learning SQL, 3rd Edition
As data floods into your company, you need to put it to work right away—and SQL …
book
Fluent Python, 2nd Edition
Don't waste time bending Python to fit patterns you've learned in other languages. Python's simplicity lets …
book
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 3rd Edition
Through a recent series of breakthroughs, deep learning has boosted the entire field of machine learning. …

