Python: Programming, Automation and Data Analysis
Exit

Lesson 8 of 14 · Structuring your code

Object-oriented programming: classes, inheritance and dataclasses

1 h 10 min Python 3.12 (Debian, git, pip)

Objective

Represent the objects of your business — a product, a basket, a loyal customer, a server to monitor — with classes that group together the data and the processing that belong together. You will be able to write a class, specialize it through inheritance, and let dataclasses write the repetitive code.

This lesson is part of the full course

Unlock Python: Programming, Automation and Data Analysis to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.