Book

Mastering Object-Oriented Python

Mastering Object-Oriented Python, Second Edition, will introduce the advanced features of the Python programming language to create the highest quality Python programs possible. This means exploring design alternatives and determining which design offers the best performance, while still being a good fit with the problem being solved.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

25h40m

Language

English

About Book

Who Is This Book For?

This book is for developers who want to use Python to create efficient programs. A good understanding of Python programming is required to make the most out of this book. Knowledge of concepts related to object-oriented design patterns will also be useful.

Book content

chapters 25h40m total length

Preliminaries, Tools, and Techniques

The __init__() Method

Integrating Seamlessly - Basic Special Methods

Attribute Access, Properties, and Descriptors

The ABCs of Consistent Design

Using Callables and Contexts

Creating Containers and Collections

Creating Numbers

Decorators and Mixins - Cross-cutting Aspects

Serializing and Saving - JSON, YAML, Pickle, CSV, and XML

Storing and Retrieving Objects via Shelve

Storing and Retrieving Objects via SQLite

Transmitting and Sharing Objects

Configuration Files and Persistence

Design Principles and Patterns

The Logging and Warning Modules

Designing for Testability

Coping With the Command Line

Module and Package Design

Quality and Documentation

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required