The following books aim to be definitive references, either by publishing the Python documentation or by writing new reference-style material, and therefore should be useful throughout your Python programming career.
Most of these books will contain short, highly condensed introductions to Python, and if you're an experienced programmer these titles may be all you need. See the list of IntroductoryBooks if you'd prefer a book with more examples and a slower pace.
- Brad Dayley ISBN: 0672329107,
Sams Publishing, 275 pages (November 2006)
Essential Code and Commands Python Phrasebook gives you the code phrases you need to quickly and effectively complete your programming projects in Python. Concise and Accessible Easy to carry and easy to use—lets you ditch all those bulky books for one portable guide. Flexible and Functional Packed with more than 100 customizable code snippets—so you can readily code functional Python in just about any situation.
The Python Language Reference Manual (version 3.2)
- Guido van Rossum, and Fred L. Drake, Jr. (Editor)
1906966141, Network Theory Ltd, 120 pages (Revised November 2006)
This is a printed edition of the official Python language reference manual by Guido van Rossum. For each copy sold $1 will be donated to the Python Software Foundation.
Home Page (includes electronic version)
Python Essential Reference
- David Beazley
ISBN: 0672329786, Addison-Wesley Professional; 4 edition (July 19, 2009) 717 pages (July, 2009)
The third edition that covers Python 2.6 language features and a variety of new modules added to the standard library; there are 17 pages on Python 3.0.
Note: a 5th edition which updates to Python 3.7 is in development with a hoped for publication date in late 2019.
The comments below apply to the 1st and 2nd editions.
A concise reference for Python 2.1, about as close as you can get to the K&R for Python. The first hundred pages are a complete but very compressed introduction to the language; the rest of the book is reference material on all of the standard library modules.
Some of the reviews below are for the first edition of this book. The second edition updated it without losing any of the first edition's virtues.
Python Pocket Reference, 4th Edition
(Mark Lutz, O'Reilly Media, September 2009, 200 pages)
A reference-only book, designed to serve as a companion to both Learning Python and Programming Python. This edition is updated to cover both Python 3.X and 2.X. It is specifically based on 3.1 and 2.6, but is applicable to other releases.
Python in a Nutshell
ISBN: 0596001886 O'Reilly, 654 pages (March 2003)
A concise desktop reference for Python 2.2. Covers the language itself, built-in types and functions, the standard library, and crucial third-party extensions such as Numeric, Tkinter, twisted.internet, Cheetah. Also covers Extending and Embedding Python, with C, Java, and other languages and tools.
Includes information on what parts were new in Python 2.2 (doesn't cover 2.3, as it was not yet finalized when the book was published, but does mention a few 2.3 additions that were already known at the time).
The second edition, published in 2006, covers features of the language introduced since the publication of the first edition.
Review by Cameron Laird Review by Danny Yee Reader reviews at amazon.com Publisher's page, with a link to the sample chapter &c Publisher's page for the second edition, with a link to the sample chapter Slashdot discussion
Python 2.1 Bible
- Dave Brueck and Stephen Tanner
(c) 2001 // 0-7645-4807-7 // 731 pg
Contains detailed descriptions with examples on a number of advanced topics such as networking, threading, XML, Tkinter, wxPython, image processing, embedding, NumPy, win32all, and others. Has a section for introducing Python, but really this is ideal for more advanced users.
Recommended by: MichaelChermside, Todd Mitchell