If you are interested in diving deep into Python classes (OOP), I have a whole course about classes as part of the Master Python Fundamentals: The Ultimate Python Course for Beginners.
Here is what is covered:
Operator Overloading: How to define custom behavior for standard operators.
Instance and Class Methods: Understand the difference between instance methods, which act on specific objects, and class methods that affect the entire class.
Instance and Class Attributes: Dive into attributes that are unique to each object and those shared by all instances of a class.
The
self
Parameter: Learn how the self parameter allows your objects to interact with their own data.Static Methods: Discover methods that belong to the class and not to any object, perfect for utility functions.
Method Overloading: Learn if method overloading is possible in Python.
Inheritance and Polymorphism: Explore how to extend and override functionality for flexible and dynamic classes.
The super() function: understand how this function is used in inheritance to reuse functionality from parent classes.
Encapsulation, Getters, and Setters: Learn to protect your data with encapsulation and manage access with getters and setters.
Final Project: At the end of the course, you'll apply everything you've learned to build a real-world app for a shoe-selling business. This project will help you track sales and give you practical experience in Python's OOP concepts, setting you up for success in building robust applications.
You will find 19 videos (155 minutes):
Here is the link to the course:
Master Python Fundamentals: The Ultimate Python Course for Beginners
Share this post