Python Essential Reference

Front Cover
Sams Publishing, 2001 - Computers - 398 pages

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
  •  

    What people are saying - Write a review

    User ratings

    5 stars
    1
    4 stars
    2
    3 stars
    1
    2 stars
    1
    1 star
    0

    Python essential reference

    User Review  - Not Available - Book Verdict

    Though Python is a relatively new programming language, it has quite a significant audience owing to its sensible syntax. An active user of Python since 1996, Beazley provides ample information on the ... Read full review

    Python Essential Reference

    User Review  - robert k. - Overstock.com

    An invaluable reference guide. Read full review

    Contents

    A Tutorial Introduction
    1
    Lexical Conventions and Syntax
    13
    Types and Objects
    19
    Operators and Expressions
    43
    Modules and Packages
    77
    Input and Output
    83
    Execution Environment
    93
    A The Python Library
    99
    zipfile
    214
    zlib
    217
    Threads
    218
    Python Threads
    219
    threading
    221
    queue
    226
    asyncore
    229
    Baseliſt Pserver
    232

    macostools
    176
    mmap
    177
    msvcrt
    179
    os
    180
    ospath
    193
    popen2
    195
    pwd
    196
    resource
    197
    shutil
    199
    signal
    200
    stat
    202
    stativts
    203
    tempfile
    204
    time
    208
    tty
    211
    cgi
    235
    CGIHTTPserver
    239
    cookie
    240
    ftp lib
    242
    inaplib
    248
    mntp lib
    249
    select
    250
    SimpleHTTPServer
    251
    socket
    252
    socketServer
    258
    urilib
    260
    B Extending and Embedding
    297
    Summary of Changes
    331
    Copyright

    Other editions - View all

    Common terms and phrases

    About the author (2001)

    David M. Beazley is the developer of SWIG, a popular software package for integrating C programs with interpreted languages including Python, Perl, and Tcl. He has been actively involved with the Python community since 1996 and is currently working on projects related to mixed-mode debugging of scripting language extensions. Dave spent seven years working in the Theoretical Physics Division at Los Alamos National Laboratory, where he helped pioneer the use of Python with high-performance simulation software running on parallel computers. He is currently an assistant professor in the Department of Computer Science at the University of Chicago, where he enjoys tormenting students with insane programming projects in operating systems, networks, and compilers courses. He can be reached at beazley@cs.uchicago.edu.

    Bibliographic information