July 2009
Intermediate to advanced
744 pages
20h 2m
English
The modules in this chapter are used to address common programming problems related to data structures; algorithms; and the simplification of code involving iteration, function programming, context managers, and classes. These modules should be viewed as a extension of Python’s built-in types and functions. In many cases, the underlying implementation is highly efficient and may be better suited to certain kinds of problems than what is available with the built-ins.
abcThe abc module defines a metaclass and a pair of decorators for defining new abstract base classes.
ABCMeta
A metaclass that represents an abstract base class. To define an abstract class, you define a class that uses ...
Read now
Unlock full access