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.
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, who is widely recognized as today's leading Python trainer, Python Pocket Reference, Fourth Edition, is the perfect companion to O'Reilly's classic Python tutorials, Learning Python and Programming Python.
This edition covers:
Built-in object types, including numbers, lists, dictionaries, and moreStatements and syntax for creating and processing objectsFunctions and modules for structuring and reusing codePython's object-oriented programming toolsThe exception-handling modelBuilt-in functions, exceptions, and attributesSpecial operator overloading methodsWidely used standard library modules and extensionsCommand-line options and development toolsPython idioms and hints