Register your product to gain access to bonus material or receive a coupon.
Python Essential Reference, Second Edition, is the definitive guide to the Python programming language. Designed for programmers, it covers the core language, more than 100 modules in the standard library, and the techniques used to extend Python with compiled procedures in C or C++. Coverage expands upon and clarifies existing Python documentation - especially for advanced topics, including operating system interfaces, threads, network programming, and Unicode.
Concise, to the point, and extensively indexed, readers will find this volume packed with information not previously available in any other single reference source. Updated for Python 2.1, it is a must-have for any serious programmer wanting to develop advanced Python applications.
As a comprehensive reference to the Python programming language, this book will help you:
Click below for Downloads related to this title:
A Tutorial Introduction to the Python Programming Language
The Age of the Commercial Python IDE: BlackAdder and Komodo Compared
Working with Stackless Python and Microthreads
Click below for Sample Chapter related to this title:
1. A Tutorial Introduction.
Running Python. Variables and Arithmetic Expressions. Conditionals. File Input and Output. Strings. Lists and Tuples. Loops. Dictionaries. Functions. Classes. Exceptions. Modules.
Line Structure and Indentation. Identifiers and Reserved Words. Literals. Operators, Delimiters, and Special Symbols. Documentation Strings.
Terminology. Object Identity and Type. Reference Counting and Garbage Collection. References and Copies. Special Methods Performance and Memory Considerations.
Operations on Numbers. Operations on Sequences. Operations on Dictionaries. Augmented Assignment. The Attribute (.) Operator. Type Conversion. Unicode Strings. Boolean Expressions and Truth Values. Object Equality and Identity. Order of Evaluation. Conditionals. Loops.
Exceptions. Defining New Exceptions. Assertions and _ _debug_ _. Functions.
Parameter Passing and Return Values. Scoping Rules. Recursion. The apply() Function. The lambda Operator. map(), zip(), reduce(), and filter(). List Comprehensions. eval(), exec, execfile(), and compile(). The class statement.
Class Instances. Reference Counting and Instance Destruction. Inheritance. Polymorphism. Information Hiding. Operator Overloading. Classes, Types, and Membership Tests.
Modules. The Module Search Path. Module Loading and Compilation. Module Reloading. Packages.
Reading Options and Environment Variables. Files. Standard Input, Output, and Error. The print Statement. Persistence. Unicode I/O. Interpreter Options and Environment.
Interactive Sessions. Launching Python Applications. Site Configuration Files. Enabling Future Features. Program Termination.
Built-in Functions and Exceptions. Mathematics. String Handling. Data Management and Object Persistence. Operating System Services. Threads. Network Programming. Internet Data Handling and Encoding. Restricted Execution. Miscellaneous Modules. The Python Debugger. The Python Profiler. Undocumented Modules.
Enabling Optional Modules. Compilation of Extensions. Converting Data from Python to C. Converting Data from C to Python. Error Handling. Reference Counting. Calling Python from C. Abstract Object Layer. Low-Level Functions on Built-in Types. Defining New Types. Special Methods for Types. Threads. Embedding. Extension Building Tools.
Python 1.6. Python 2.0. Python 2.1.
Click below for Errata related to this title: