Book description
Python is a popular object-oriented scripting language that is freely available over the Net. It's portable, powerful, and remarkably easy to use. Python is commonly used for both stand-alone programs and scripting applications, in a wide variety of domains. This book is a companion volume to two O'Reilly Animal Guides, Programming Python 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 and complements Python's online reference material.
Table of contents
-
Python Pocket Reference
-
1. Python Pocket Reference
- Introduction
- Conventions
- Command-Line Options
- Environment Variables
- Built-in Types and Operators
-
Statements and Syntax
- Syntax Rules
- Name Rules
-
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 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
- Built-in Functions
- Built-in Exceptions
- Built-in Attributes
- Major Built-in Modules
- Other Built-in Modules
- Persistence: dbm, shelve, pickle
- Debugger and Profiler
- Python Mode for Emacs
- Python Idioms and Hints
-
1. Python Pocket Reference
Product information
- Title: Python Pocket Reference
- Author(s):
- Release date: November 1998
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565925007
You might also like
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
Lua Quick Start Guide
The easiest way to learn Lua programming Key Features The easiest way to learn Lua coding …
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 …

