Focusing solely on the latest versions of Python (3.5 and higher),
Python Distilled, from Beazley, returns to the roots of his classic
Python Essential Reference: it is a concise, but powerfully useful book on effective Python programming. However, rather than trying to document “everything,” Beazley now focuses on the truly “essential.” In so doing, he reflects all he has learned through years of teaching Python to scientists, engineers, and software professionals, writing software libraries, and pushing the envelope of what Python makes possible.
Python Distilled covers abstraction techniques, program structure, data, functions, objects, modules, and other topics selected to serve programmers working on Python projects of any size. Beazley never forgets that productivity is not enough: programming ought to capture the magic that lives inside the computer. It should be fun, too.
Expert insight for modern Python (3.6+) coding from the author of Python Essential Reference
Python educator Dave Beazley’s concise handbook focuses on the essential core of the Python programming language, with code examples to illuminate how Python works and how to structure programs that can be more easily explained, tested, and debugged. Rather than trying to cover every possible feature and quirk of a 30-year-old language, this pragmatic guide provides a concise narrative related to fundamental programming topics that form the foundation for Python projects of any size including
- Data abstraction
- Control flow
- Program structure
- Functions: master functions and functional programming idioms
- Objects: control objects and master the "protocols" that define their behavior
- Modules: plan for project growth by understanding modules and packages
- Generators
- Classes: understand classes from both high-level and technical perspectives
- I/O handling: proper techniques and abstractions
- Dicts
"This is a pragmatic book that presents some of the most important topics about the Python programming language in a concise form, designed to make it easier to find out the most relevant information bits in a context where resources abound and frequently are just too overwhelming."
—Victor Domingos, Software Developer, Slim Business Solutions, The No Title® Tech Blog