This is the eBook version of the printed book.
One of Python’s most popular features is the “standard library” of modules that serve as the foundation of an application and give the language its motto: “Batteries Included.” The documentation for the standard library serves as a reference manual, but often requires experimentation to understand the precise meaning of the text. In contrast, this book provides example programs for over 100 of the most commonly used standard library modules, explaining their purpose and demonstrating how to use them in your daily programming tasks. The features of each module are examined in order, building from basic to complex or following the order you will need to use them in a real application. The examples are presented as complete working programs, along with their output, leaving no question about how to interpret the reference guide.