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
Python Pocket Reference, 5th Edition
Updated for both Python 3.4 and 2.7, this convenient pocket guide is the perfect on-the-job quick …
book
Python: Essential Reference
Python Essential Reference is the definitive reference guide to the Python programming language — the one …
book
Python Deep Learning Cookbook
Solve different problems in modelling deep neural networks using Python, Tensorflow, and Keras with this practical …
book
Python Developer's Handbook
The Python Developer's Handbook is designed to expose experienced developers to Python and its uses. Beginning …