Home > Store

Python Essential Reference, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Python Essential Reference, 2nd Edition

Book

  • This product currently is not for sale.
Not for Sale

Description

  • Copyright 2001
  • Dimensions: 6" x 9"
  • Pages: 416
  • Edition: 2nd
  • Book
  • ISBN-10: 0-7357-1091-0
  • ISBN-13: 978-0-7357-1091-7

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:

  • Learn about the features in Python 2.0 and 2.1
  • Master the details of Python types, operators, and the execution model
  • Discover the details of Unicode and internationalization support
  • Learn the details of operating system interfaces, threads, and network-programming modules
  • Build C/C++ extensions to Python
  • Make effective use of the Python library
  • Find the information you need to start developing advanced Python applications

  • Downloads

    Downloads

    Click below for Downloads related to this title:
    0735710910-source-code.zip (2k)

    0735710910-toc-ps.zip (679k)

    Sample Content

    Downloadable Sample Chapter

    Click below for Sample Chapter related to this title:
    0735710910.pdf

    Table of Contents



    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.



    2. Lexical Conventions and Syntax.

    Line Structure and Indentation. Identifiers and Reserved Words. Literals. Operators, Delimiters, and Special Symbols. Documentation Strings.



    3. Types and Objects.

    Terminology. Object Identity and Type. Reference Counting and Garbage Collection. References and Copies. Special Methods Performance and Memory Considerations.



    4. Operators and Expressions.

    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.



    5. Control Flow.

    Exceptions. Defining New Exceptions. Assertions and _ _debug_ _. Functions.



    6. Functions and Functional Programming.

    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.



    7. Classes and Object-Oriented Programming.

    Class Instances. Reference Counting and Instance Destruction. Inheritance. Polymorphism. Information Hiding. Operator Overloading. Classes, Types, and Membership Tests.



    8. Modules and Packages.

    Modules. The Module Search Path. Module Loading and Compilation. Module Reloading. Packages.



    9. Input and Output.

    Reading Options and Environment Variables. Files. Standard Input, Output, and Error. The print Statement. Persistence. Unicode I/O. Interpreter Options and Environment.



    10. Execution Environment.

    Interactive Sessions. Launching Python Applications. Site Configuration Files. Enabling Future Features. Program Termination.



    A. The Python Library.

    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.



    B. Extending and Embedding Python.

    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.



    C. Summary of Changes.

    Python 1.6. Python 2.0. Python 2.1.



    Index.

    Updates

    Errata

    Click below for Errata related to this title:
    0735710910.pdf

    Submit Errata

    More Information

    Unlimited one-month access with your purchase
    Free Safari Membership