Loading...
Loading...
Loading...
Section 03 · Stage 1: Learn Python
Classes, inheritance, properties, dunder methods and dataclasses, with small projects.
Define classes, instantiate objects, and manage state.
Protect data and write Pythonic getters and setters.
Build objects from text and dictionaries with @classmethod, keep helpers in a class with @staticmethod only when they belong there, and choose between methods and plain functions.
Reuse logic, master multiple inheritance, and define interfaces.
Build objects from parts, pass collaborators in, and know when to use a mixin instead of inheritance.
Integrate with Python's data model and use modern dataclasses.
Three portfolio projects that combine classes, inheritance, abstract classes, dataclasses and custom exceptions.