- 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
- Average Customer Review: 63 customer reviews
- Amazon Best Sellers Rank: #722,745 in Books (See Top 100 in Books)
Enter your mobile number or email address 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.
To get the free app, enter your mobile phone number.
Python in a Nutshell, Second Edition (In a Nutshell) Second Edition
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
"Children of Blood and Bone"
Tomi Adeyemi conjures a stunning world of dark magic and danger in her West African-inspired fantasy debut. Pre-order today
Customers who bought this item also bought
Customers who viewed this item also viewed
What other items do customers buy after viewing this item?
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.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
Doesn't sound like that much of an endorsement, does it?
Nevertheless, of my 6 or 7 Python books, (2 or 3 are generalist, rather than specialized), this is the only one I use regularly after 9 yrs of using Python.
What Python in a Nutshell is really good at is showing you exactly what Python is capable of doing, feature by feature, in a thoroughly Pythonic way for the feature. With code and exact implication. For example, I know Python well but I am kinda lacking in metaclass comprehension. If I were to write some non-trivial meta-classes I would surely have its 3 or 4 pages open on my desk as I write code and skim through other internet postings. Those 3-4 pages have kinda made my brain shrivel every time I've looked at them, but they are the clearest overview I've seen of what is probably one of the hardest Python features to understand.
For normal, easy-to-understand Python, Nutshell really dissects the languages with new insight. The information is dense, because each word has its place and there is very little filler. That's why skimming it does not work for me, I just don't have the requisite sustained attention span.
Online docs? Again, this aims to distill Python's deeper implications. You won't find that in the basic online docs. You may find some equivalent, or perhaps better, explanations of specific features, say Python meta-classes, online by looking around in blogs and articles. But you will have to look around for a long while and you will likely encounter a bunch of less informative, or perhaps erroneous, stuff along the way.
Python has a very easy learning curve, but it also has a whole lot of layers if you want to use it in the most efficient/natural manner. This is the book you want to help you dig. The surface, introductory aspects of Python are not well served by this book. Normal reference books are already not ideal for learning languages/systems, but its nature makes Nutshell an even worse choice. In fact, unlike some other reviewers, I would not at all recommend getting it to get acquainted with Python, unless you truly are a gifted programmer.
The index could be improved a bit. For example, built-in functions are not listed directly: even an experienced coder might not know to look for 'getattr' or 'zip' under builtins. 2nd edition: the logging module's coverage is a bit trivial/weak, as was that of decorators. Both are subjects that would have greatly benefited from more of Alex's insights.