Object-Oriented Programming (OOP) is a programming paradigm based on the concept of "objects" which contain data and code. This module covers all essential OOP concepts in Python.
- Understand classes and objects
- Implement inheritance and polymorphism
- Apply encapsulation and abstraction
- Use special (dunder) methods
- Work with class and static methods
- Understand properties and descriptors
| File | Topic | Description |
|---|---|---|
| classes_objects.py | Classes & Objects | Basic class definition |
| inheritance.py | Inheritance | Single and multiple inheritance |
| special_methods.py | Special Methods | Dunder methods, operator overloading |
| advanced_oop.py | Advanced OOP | Properties, abstract classes |
6-8 hours for complete understanding
- Completion of Modules 01-04
- Understanding of functions and data types
After completing this module, proceed to 07-file-handling to learn about file operations.