Skip to main content

Object-Oriented Programming

Welcome to the Python object-oriented programming guide. This section introduces classes, instances, shared class behavior, inheritance, and the language features that make custom objects feel natural in Python.

Object-oriented programming

Work through these topics in order to build from the basics of classes and instances to inheritance, polymorphism, and dunder methods.