This is the book to reach for when you're coding on the fly and need an answer now. It's an easy-to-use reference to the core language, with descriptions of commonly used modules and toolkits, and a guide to recent changes, new features, and upgraded built-ins -- all updated to cover Python 3.X as well as version 2.6. You'll also quickly find exactly what you need with the handy index.
Written by Mark Lutz -- widely recognized as the world's leading Python trainer -- Python Pocket Reference, Fourth Edition, is the perfect companion to O'Reilly's classic Python tutorials, also written by Mark: Learning Python and Programming Python.
Built-in object types, including numbers, lists, dictionaries, and more
Statements and syntax for creating and processing objects
Functions and modules for structuring and reusing code
Python's object-oriented programming tools
The exception-handling model
Built-in functions, exceptions, and attributes
Special operator overloading methods
Widely used standard library modules and extensions
Mark Lutz is the world leader in Python training, the author of Python's earliest and best-selling texts, and a pioneering figure in the Python community since 1992. He is also the author of O'Reilly's Programming Python, Python Pocket Reference, and Learning Python (all in 4th Editions). Mark can be reached on the web at www.rmi.net.
Comments about oreilly Python Pocket Reference, 4th Edition:
The best book by Mark Lutz. Small, but very useful. What is nice is that it clearly distinguishes 3.X and 2.X constructs and provides tips what are the alternatives if a 2.X feature is no longer available in 3.X.
Bottom Line Yes, I would recommend this to a friend