
Python in a Nutshell - Alex Martelli



This manual is a comprehensive reference guide for Python programmers, providing easy access to frequently needed information about the Python language, standard library, and third-party extensions. It is a valuable resource for both professional mechanics and DIY enthusiasts.
Python in a Nutshell covers the syntax of the Python language, object-oriented programming, iterators, generators, exceptions, modules, packages, strings, regular expressions, built-in types and functions, key modules, as well as important third-party extensions like Numeric and Tkinter. It also includes information about extending and embedding Python.
- 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 manual is a must-have for any Python programmer's library.
Praise for the First Edition:
"In a nutshell, Python in a Nutshell serves one primary goal: to act as an immediately accessible goal for the Python language. This book 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