September 2025
Intermediate to advanced
344 pages
8h 54m
English
This chapter introduces the basics of object-oriented programming (OOP), a style of coding that revolves around creating and manipulating custom data types called classes. We’ll start with a description of classes and how to create them. Then we’ll look at some of the benefits of OOP through a series of both theoretical and practical examples. By the end of the chapter, you should be able to recognize when using classes in your code will improve both your scripts and your coding workflow more broadly.
Much of this book has been about applying structure to your Python workflow so that the tools do most of ...
Read now
Unlock full access