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
Tiny Python Projects
The projects are tiny, but the rewards are big: each chapter in Tiny Python Projects challenges …
book
Automate the Boring Stuff with Python
Automate the Boring Stuff with Python teaches simple programming skills to automate everyday computer tasks.
book
Data Science from Scratch, 2nd Edition
To really learn data science, you should not only master the tools—data science libraries, frameworks, modules, …
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …