Lessons
Classes and objects
Create your own types that bundle data together.
9 min
Methods
Give objects behavior with functions that live inside the class.
10 min
Class attributes & properties
Share data across all instances and add smart, validated attributes.
11 min
Inheritance & super()
Build specialized classes on top of existing ones.
10 min
Dunder methods
Make your objects print nicely, compare, sort and work with len() and +.
11 min
Dataclasses
Skip the boilerplate: auto-generated __init__, __repr__ and ==.
9 min
Next module
Standard Library Tour