Python in a Nutshell
Publisher: O'Reilly Media
Final Release Date: March 2003
Pages: 656

Ask any Python aficionado and you'll hear that Python programmers have it all: an elegant language that offers object-oriented programming support, a readable, maintainable syntax, integration with C components, and an enormous collection of precoded standard library and extension modules. Moreover, Python is easy to learn but powerful enough to take on the most ambitious programming challenges. But what Python programmers have lacked is one concise and clear reference resource, with the appropriate measure of guidance in how best to use Python's great power. Now Python in a Nutshell fills this need.

In the tradition of O'Reilly's "In a Nutshell" series, this book offers Python programmers one place to look when they need help remembering or deciphering the syntax of this open source language and its many modules. This comprehensive reference guide makes it easy to look up all the most frequently needed information--not just about the Python language itself, but also the most frequently used parts of the standard library and the most important third-party extensions.

Python in a Nutshell focuses on Python 2.2 (and all its point releases), currently the most stable and widespread Python release. This book includes:

  • A fast-paced tutorial on the syntax of the Python language itself
  • An explanation of object-oriented programming in Python, covering both the classic and new-style object models
  • Coverage of other core topics, including exceptions, modules, strings, and regular expressions
  • A quick reference for Python's built-in types and functions, as well as the key modules in the Python standard library, including sys, os, time, thread, math, and socket, among many others
  • Reference material on important third-party extensions, such as Numeric and Tkinter
  • Information about extending Python and embedding it into other applications
Python in a Nutshell provides a solid, no-nonsense quick reference to information that programmers rely on the most. This latest addition to the best-selling "In a Nutshell" series will immediately earn its place in any Python programmer's library.
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyPython in a Nutshell
 
3.7

(based on 7 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (2)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (1)

Reviewed by 7 customers

Sort by

Displaying reviews 1-7

Back to top

(1 of 5 customers found this review helpful)

 
3.0

was the best but now outdated

By jon

from israel

About Me Designer

Pros

  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice
    • Student

    Comments about oreilly Python in a Nutshell:

    this book dives right into business, no "hello world" muck, but i wish there was a python 3 version

    (1 of 1 customers found this review helpful)

     
    5.0

    The best book for

    By Humle

    from Undisclosed

    Comments about oreilly Python in a Nutshell:

    I've read around 15 books on Python by now, and this is definitely the best for understanding how to make good use of Python. Alex Martelli is profoundly knowledgable about Python, which is also evident from the Python Cookbook.

    It's an excellent reference, it covers more areas than the other books I've read and in the Network and Web Programming part it compares different frameworks for writing Internet applications. It was from this parts recommendation that I started to use twisted that has turned out to be really great for making advanced server and client applications.

    Beginners should not start with this book, but rather Learning Python 1st edition (the 2nd ed. is a bit longish and explains too much for beginners) or even better: Quick Python. However, both of these are a bit out of date.

    (0 of 4 customers found this review helpful)

     
    4.0

    Python in a Nutshell Review

    By Danny Yee

    from Undisclosed

    Comments about oreilly Python in a Nutshell:

    A great book! I've written a full review.

    (0 of 6 customers found this review helpful)

     
    1.0

    Python in a Nutshell Review

    By Mike

    from Undisclosed

    Comments about oreilly Python in a Nutshell:

    Worst Python book by ORA since Learning Python. Why can't some publisher find a good writer that knows Python. Obviously, ORA can't. I was really looking forward to the release of this book and have been very disappointed. I'm only on Chapter 5, but am dusting off my Python 2.1 Bible and giving it another chance. The quality of books from ORA seem to be declining rapidly. Hopefully, this will be changed.

     
    3.0

    Python in a Nutshell Review

    By kc

    from Undisclosed

    Comments about oreilly Python in a Nutshell:

    This is a great book, or will be in the corrected printing. The errata page shows that there is on average one error per twenty-five pages. And I'm generously counting the index in the page count. This is far too many errors for such an important volume. ORA should have invested the resources and time to do better. This community will wait for -- and reward -- quality.

     
    5.0

    Python in a Nutshell Review

    By Istvan

    from Undisclosed

    Comments about oreilly Python in a Nutshell:

    My search for the ultimate Python bookis over.

    Having a good programming background I needed a comprehensive but short book that talks about everyting I need and nothing I don't. Python in Nutshell was the real deal.

    (3 of 3 customers found this review helpful)

     
    5.0

    Python in a Nutshell Review

    By Bernhard Straub

    from Undisclosed

    Comments about oreilly Python in a Nutshell:

    Being a ObjectiveC developer of yore, I had changed sides a long time ago to become a pure user and earn a living as a banker. After nearly ten years of abstinence I was recently introduced to Python by a student working at our office. Happy to recognize many of the concepts of ObjectiveC I decided to learn Python for pure fun. I found the online documentation not as helpful as proclaimed on python.org, but I got into Python with the help of 'Learning Python' by Mark Lutz and then got on with 'Programming Python' by Mark Lutz.

    What I was missing dearly, however, was a concise but comprehensive reference book. In 'Python in a Nutshell' I have found what I had been looking for and more. Aimed at Python programmers with some prior knowledge of Python, it is not exactly a starting point for beginners, but it is a truly excellent guide to programmers conversant with other programming languages. The book is well organized and clearly arranged with a good index. It offers all the syntactic and morphologic specifications required for application development, accompanied by well written code samples. The coverage of Tkinter is brief (I am still looking for a thorough coverage of that topic), but sufficient for a reference book. In short, I am happy with Alex Martelli's work - it is sitting next to my keyboard all the time !

    Displaying reviews 1-7

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?