Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Python in a Nutshell, Second Edition (In a Nutshell) Second Edition

4.4 out of 5 stars 32 customer reviews
ISBN-13: 978-0596100469
ISBN-10: 0596100469
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Rent On clicking this link, a new layer will be open
$11.31 On clicking this link, a new layer will be open
Buy used On clicking this link, a new layer will be open
$11.98 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$28.27 On clicking this link, a new layer will be open
More Buying Choices
49 New from $15.85 60 Used from $0.36 1 Collectible from $17.00
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

click to open popover

Frequently Bought Together

  • Python in a Nutshell, Second Edition (In a Nutshell)
  • +
  • Python Pocket Reference (Pocket Reference (O'Reilly))
  • +
  • Learning Python, 5th Edition
Total price: $89.99
Buy the selected items together

Editorial Reviews

About the Author

Alex Martelli spent 8 years with IBM Research, winning three Outstanding Technical Achievement Awards. He then spent 13 as a Senior Software Consultant at think3 inc, developing libraries, network protocols, GUI engines, event frameworks, and web access frontends. He has also taught programming languages, development methods, and numerical computing at Ferrara University and other venues. He's a C++ MVP for Brainbench, and a member of the Python Software Foundation. He currently works for AB Strakt, a Python-centered software house in G teborg, Sweden, mostly by telecommuting from his home in Bologna, Italy. Alex's proudest achievement is the articles that appeared in Bridge World (January/February 2000), which were hailed as giant steps towards solving issues that had haunted contract bridge theoreticians for decades.

NO_CONTENT_IN_FEATURE

New York Times best sellers
Browse the New York Times best sellers in popular categories like Fiction, Nonfiction, Picture Books and more. See more

Product Details

  • Paperback: 738 pages
  • Publisher: O'Reilly Media; Second edition (July 24, 2006)
  • Language: English
  • ISBN-10: 0596100469
  • ISBN-13: 978-0596100469
  • Product Dimensions: 6 x 1.6 x 9 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (32 customer reviews)
  • Amazon Best Sellers Rank: #406,684 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

By Giuseppe A. Paleologo on October 14, 2006
Format: Paperback Verified Purchase
First, one caveat: before reading this book, get a feeling for Python from the official tutorial, and some of the excellent tutorials and book available online (e.g., parts of "Dive into Python"). The greater the experience you have with other languages, the shorter the warm-up period. Then, buy this book. The chapters on the language description and OOP are models of clarity and brevity, in any book/reference and any language. All the other chapters are extremely useful too. This book complements perfectly the official library and language references, and covers almost everything you will ever need. It truly is the ideal reference book, and an incredible value for the money. I just hope that Alex Martelli will keep future editions below 700 pages while adding material on other GUI frameworks and PyPy.
Comment 21 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
The python community is quickly embracing python 3.x but this book is written for 2.x. I would still recommend this book because many of the explanations still apply to 3.x and best of all it is a very well written book and clearly organized. I saved some money and bought a used one. I have python books by Martelli, Lutz, Summerfield, Beazley, and Ceder. Why so many? I think its important to approach a subject from different conceptual angles to be able to master the subject. Which writer did I think was most effective at teaching the intended subject? 1.Beazley, 2. Martelli (very close) 3. Ceder...
1 Comment 4 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Python in a Nutshell is a excellent reference book, all python programmer must have one in the desk.

The online documentation for the python language is good, but some times is difficult to search for a feature of the language, in this book is easy to find anything about python.

This book complements perfectly the official library and language references, and covers almost everything you will ever need.

I Learn python with this book, but i only recommend the book for people with knowledge of other programming language, if you are new in programming and wants to learn python this book is not good for you (try Learning python by David Ascher and Mark Lutz), if you already have programming skills this is the perfect book for learn python.

The author explain the language in a very simple way with good examples, and don't wast time explaining the basics of programming, the book starts with a introduction to the python language, in chapter 2 the author explain the installation of various python interpreters, from chapter 4 to 9 the author explain the core of the python language, in the rest of the book the author cover the python library and extensions modules, network and web programming with python and in the last section the author talk about the various ways of embedding and extending the python language, in my opinion the book is well written and very easy to read.

I highly recommend Python in a Nutshell, for all programmers who wants to start coding in python, and for all python programmers as a language reference.
Comment 9 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
The author Alex Martelli is Uber Technical Lead at Google, Inc. Martelli holds a laurea in Ingegneria Elettronica from Bologna University. He wrote Python in a Nutshell two editions, and also co-edited the Python Cookbook. He's a member of the Python Software Foundation, and won the 2002 Activators' Choice Award. Martelli spent 8 years with IBM Research, earning three Outstanding Technical Achievement Awards, and on.

The book is a great reference and full of insights and good programming techniques. It moves pretty fast to make a good introductory book, but once one has a reasonable understanding of Python fundamentals, anyone wishing to advance their understanding and application of the language can benefit from Python in a Nutshell.

I found that this book has been able to cover every thing from fundamentals of the Python language to a comprehensive description of some of the more esoteric newer language features and at the same time address many of the applications of the language. The presentation style is clear and very readable with concise examples, and not full of extraneous fluff. The subjects are well laid out beginning with a swift comprehensive introduction to the language, and a good description of the basic elements including classes, methods exceptions, modules, decorators and built-ins. There are sections on the Python library and extension modules, Network and web programming including some discussion of some of the existing python web frame works and socket programming. There is material on extending and embedding Python and alternate ways to extend python beyond c-extensions. The book was released just prior to the final release of Python 2.5, but there is considerable material covering most if not all of the latest 2.
Read more ›
Comment 5 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
'Python In A Nutshell' is one of those de facto standard O'Reilly books that is required reading/owning for anyone that develops in said language. In this case it's the long time popular scripting language Python. Originally released in 1991, this language has grown and expanded into the juggernaut it is today. With around 700 pages of material, this book will show you the ins and outs of everything yummy that Python can do. From the basics of talking about to define variables and create conditional statements to object oriented programming, you are going to quickly see why Python is popular and USABLE.

This book goes further than just a teaching book and/or just a language reference. It's meant to bridge both necessities as you learn to progam in Python or want to improve your existing skillset. With this book you will achieve all your Python goalssssssssssssssssssssss (pathetic snake joke attempt here)

***** HIGHLY RECOMMENDED
Comment 4 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Python in a Nutshell, Second Edition (In a Nutshell)
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Python in a Nutshell, Second Edition (In a Nutshell)