Book description
Python is optimized for quality, productivity, portability, and integration. Hundreds of thousands of Python developers around the world rely on Python for general-purpose tasks, Internet scripting, systems programming, user interfaces, and product customization. Available on all major computing platforms, including commercial versions of Unix, Linux, Windows, and Mac OS X, Python is portable, powerful and remarkable easy to use. With its convenient, quick-reference format, Python Pocket Reference, 3rd Edition is the perfect on-the-job reference. More importantly, it's now been refreshed to cover the language's latest release, Python 2.4. For experienced Python developers, this book is a compact toolbox that delivers need-to-know information at the flip of a page. This third edition also includes an easy-lookup index to help developers find answers fast! Python 2.4 is more than just optimization and library enhancements; it's also chock full of bug fixes and upgrades. And these changes are addressed in the Python Pocket Reference, 3rd Edition. New language features, new and upgraded built-ins, and new and upgraded modules and packages--they're all clarified in detail. The Python Pocket Reference, 3rd Edition serves as the perfect companion to Learning Python and Programming Python.
Table of contents
- Contents (1/2)
- Contents (2/2)
-
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 (1/3)
- Built-in Functions (2/3)
- Built-in Functions (3/3)
- Built-in Exceptions
- Built-in Attributes
- Built-in Modules
- The sys Module (1/2)
- The sys Module (2/2)
- The string Module
- 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
- Python Portable SQL Database API
- Python Idioms and Hints
- Index (1/2)
- Index (2/2)
Product information
- Title: Python Pocket Reference, Third Edition
- Author(s):
- Release date: February 2005
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596009403
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
Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and The Cloud
This is the eBook of the printed book and may not include any media, website access …
book
Automate the Boring Stuff with Python
Automate the Boring Stuff with Python teaches simple programming skills to automate everyday computer tasks.
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …