Python Cookbook, 2nd Edition
by Alex Martelli; Anna Martelli Ravenscroft; David Ascher
Programming Python, 3rd Edition
by Mark Lutz
Python: Essential Reference, Third Edition
by David Beazley
Learning Python, 4th Edition
by Mark Lutz
Regular Expressions Cookbook
by Jan Goyvaerts; Steven Levithan
Python Essential Reference, Fourth Edition
by David M. Beazley
Programming Python, 3rd Edition
by Mark Lutz
Python Cookbook, 2nd Edition
by Alex Martelli; Anna Martelli Ravenscroft; David Ascher
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 powerful but scantily documented modules. This comprehensive reference guide makes it easy to look up 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.
Ask any Python aficionado and you'll hear that Python programmers have it all: an elegant object-oriented language with readable and maintainable syntax, that allows for easy integration with components in C, C++, Java, or C#, and an enormous collection of precoded standard library and third-party extension modules. Moreover, Python is easy to learn, yet powerful enough to take on the most ambitious programming challenges. But what Python programmers used to lack is a concise and clear reference resource, with the appropriate measure of guidance in how best to use Python's great power. Python in a Nutshell fills this need.
Python in a Nutshell, Second Edition covers more than the language itself; it also deals with the most frequently used parts of the standard library, and the most popular and important third party extensions. Revised and expanded for Python 2.5, this book now contains the gory details of Python's new subprocess module and breaking news about Microsoft's new IronPython project. Our "Nutshell" format fits Python perfectly by presenting the highlights of the most important modules and functions in its standard library, which cover over 90% of your practical programming needs. This book includes:
A fast-paced tutorial on the syntax of the Python language
An explanation of object-oriented programming in Python
Coverage of iterators, generators, exceptions, modules, packages, strings, and regular expressions
A quick reference for Python's built-in types and functions and key modules
Reference material on important third-party extensions, such as Numeric and Tkinter
Information about extending and embedding Python
Python in a Nutshell provides a solid, no-nonsense quick reference to information that programmers rely on the most. This book will immediately earn its place in any Python programmer's library.
"In a nutshell, Python in a Nutshell serves one primary goal: to act as an immediately accessible goal for the Python language. True, you can get most of the same core information that is presented within the covers of this volume online, but this will invariably be broken into multiple files, and in all likelihood lacking the examples or the exact syntax description necessary to truly understand a command." --Richard Cobbett, Linux Format
"O'Reilly has several good books, of which Python in a Nutshell by Alex Martelli is probably the best for giving you some idea of what Python is about and how to do useful things with it." --Jerry Pournelle, Byte Magazine
Praise for the First Edition:
Average Amazon.com® Rating: ![]()
![]()
![]()
![]()
Based on 40 Ratings
Great book - a little lenghty for a nutshell - 2008-03-17
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
I keep coming back to this book, either to clarify what other books needlessly complicate or simply don't include. As a nutshell book, I would say it is more of a fairly comprehensive reference. Its discussion and explanation of python elements, which tend to make it more of a comprehensive manual and less of a nutshell are very much appreciated. The book's well thought out layout and well self-sustained sections allow you to actually sit down and read this book to learn from and not just use as a passing reference from time to time. I pair this book with Beazley's Python, Essential Reference, which I think actually takes more of a 'nutshell spirit of presentation'. Between the two, they are my most often go-to books while in the coding process.
Just Good Enough - 2009-02-15
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
Just good enough, I do not recommend it. In case that you really want to profit your time go directly to the "Python Cookbook" from O'Reilly.
Not a Nutshell - 2009-02-23
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
On the downside, there was a few chapters to read through before I actually started programming. On the upside, I really enjoyed reading it. This is a great book if you'd like to hear about the different types of Python. It's not a particularly good book if you'd like to learn Python in a reasonable amount of time to finish a project.
Excellent reference book for Python. Not for learning, but great reference. - 2009-03-16
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This book is strictly a reference book. It contains snippets of examples and detailed explanations about each Python function/features. It is very, very good for that. The section on strings, for example, contains about 15 pages on every possible string methods, and a brief example. Perfect for a reference.
In a Nutshell is correct. - 2009-02-10
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
A great reference book, but alone it wouldn't be my way to learn the language; it's a bit terse for that. However, with the other book I got "for beginners" (that be me), they make a great pair.
Some information on this page was provided using data from Amazon.com®. View at Amazon >