Python Essential Reference (2nd Edition)

4.21 avg rating
( 38 ratings by Goodreads )
9780735710917: Python Essential Reference (2nd Edition)
View all copies of this ISBN edition:

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
  • "synopsis" may belong to another edition of this title.


    For anyone who programs in Python, David M. Beazley's Python Essential Reference, Second Edition will serve as a capable and exceptionally competent guide to current Python syntax and library modules. Concise, yet authoritative, this book sets a high standard as a one-volume reference to this powerful object-oriented programming language.

    Although the author claims that this title is not really a tutorial, the first 100 pages actually provide an excellent guide to the basics of Python as a language. Geared especially to the experienced programmer seeking to see what's different (and potentially better) about Python, sections on the language itself will let you ramp up on the basic and advanced topics. Short sections with code excerpts that show off essential language features will help you learn or enhance your knowledge of Python quickly. Standout sections here include excellent coverage of object-oriented features, like "special methods" that will let you add custom classes to Python that are just as flexible as built-in classes.

    The heart of this book is the 250-page reference section. The author concentrates on all current Python modules (eschewing deprecated or obsolete APIs). Starting with basic modules for Python services and operating system functions, and including handling strings and math functions, the author explains and illustrates each module with short sample code, along with a full listing of APIs. Sections on Python's impressive support for virtually all networking protocols (including sockets, HTTP, FTP, and e-mail) are a standout and will arguably justify the cost of this title for many Python developers. Later modules look at undocumented functions, plus there's an in-depth guide to integrating Python and C code. (This material can even help you build custom Python modules.)

    With a remarkably clear presentation style, this well-organized reference offers a compact and worthy guide to today's Python that's sure to meet the needs of many working programmers. --Richard Dragan

    Topics covered:

    • Reference (and expert-level tutorial) for Python 2.1
    • Quick overview of Python essentials (including basic syntax, reserved words, and operators)
    • Types and objects (including built-in types, modules, classes, and special methods)
    • Operators and expressions (operations on numbers, sequences and dictionaries, type conversion, conditionals and loops)
    • Control flow
    • Functions and functional programming idioms
    • Classes and object-oriented programming tips
    • Modules and packages
    • Input and output (including files and persistence)
    • The Python execution environment
    • Python library reference
    • Python services (including garbage collection and "pickling")
    • Mathematical functions
    • Strings
    • Data management and object persistence APIs
    • Operating system services (including Mac OS and Windows-specific functions)
    • Python threads
    • Network programming (including HTTP, FTP, NNTP, and other Web protocols, socket programming, retrieving URLs)
    • Internet data handling and encoding (including mail attachment and MIME support)
    • Restricted execution and security modules
    • Undocumented modules
    • Extending and embedding Python and C
    • Summary of changes between Python 1.6, 2.0, and 2.1

    From the Publisher:

    David is a Python wiz! This well crafted book will bring you not only insightful information for your Python programming but also hidden pieces of fun. David is one of our top authors and a VOICE THAT MATTERS. Readers just love his work! He brings both passion and perfection to this work and it really shows through. If you're a Python programmer, you just simply can not be without this book. It's important to me that I hear what you think about this book. Please email me and share your comments at

    ~Stephanie Wall, Executive Editor

    "About this title" may belong to another edition of this title.

    Other Popular Editions of the Same Title

    9780672328626: Python Essential Reference (3rd Edition)

    Featured Edition

    ISBN 10:  0672328623 ISBN 13:  9780672328626
    Publisher: Sams, 2006

    9780735709010: Python Essential Reference (OTHER NEW RIDERS)

    New Ri..., 1999

    Top Search Results from the AbeBooks Marketplace


    Beazley, David
    Published by Sams (2001)
    ISBN 10: 0735710910 ISBN 13: 9780735710917
    New Paperback Quantity Available: 2
    Murray Media
    (North Miami Beach, FL, U.S.A.)

    Book Description Sams, 2001. Paperback. Condition: New. Never used!. Seller Inventory # P110735710910

    More information about this seller | Contact this seller

    Buy New
    US$ 51.34
    Convert currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds


    David Beazley
    Published by Sams (2001)
    ISBN 10: 0735710910 ISBN 13: 9780735710917
    New Softcover Quantity Available: 1
    Irish Booksellers
    (Portland, ME, U.S.A.)

    Book Description Sams, 2001. Condition: New. book. Seller Inventory # M0735710910

    More information about this seller | Contact this seller

    Buy New
    US$ 80.40
    Convert currency

    Add to Basket

    Shipping: FREE
    Within U.S.A.
    Destination, rates & speeds