In this series, we will go over my notes for Python. And in this video, we are going to cover classes. Namely, we will cover the init method, the difference between class attributes & instance attributes and inheritance.
Links:
GitHub Repo: https://github.com/SebastianMantey/Python-Tutorial
Full Playlist: https://www.youtube.com/playlist?list=PLPOTBrypY74yHNvmKlf9bfYuwMlbiPk94
Timestamps:
0:00 - Intro
0:16 - The init method
5:26 - Class attributes
6:22 - Instance attributes
7:00 - Namespaces
9:15 - Class vs. instance attributes
12:50 - Evaluation of class attributes
18:13 - Inheritance
20:28 - Adding attributes/methods to the child class
21:55 - Overriding attributes/methods of the parent class
23:22 - The "super" function
26:02 - Calling the parent class directly
29:12 - Multiple inheritance