// resources

Resources

// Code Example
oop_classes_objects.py
Classes and Objects — blueprint, constructor, self, methods. The foundation of OOP in one file.
[ download ]
// Code Example
oop_attributes_methods.py
Attributes and Methods — instance vs class attributes, default values, methods that read, modify, and return. Everythin…
[ download ]
// Code Example
oop_self.py
Understanding self — what it is, why it exists, how Python passes it automatically, and how it connects data and method…
27 downloads 16 May 2026 → Understanding OOP self
[ download ]
// Code Example
oop_encapsulation.py
Encapsulation — private attributes, getters, setters, validation inside the object. The object enforces its own rules.
[ download ]
// Code Example
oop_inheritance.py
Inheritance — parent class, child class, super(), method overriding. Write shared logic once, inherit everywhere.
26 downloads 16 May 2026 → Reusing Code with Inheritance
[ download ]
// Code Example
oop_polymorphism.py
Polymorphism — same method call, different behavior per class. One loop, no isinstance() checks, new classes without ch…
[ download ]
// Code Example
oop_special_methods.py
Special Methods — str, repr, len, eq, contains. Make your objects work with print(), len(), ==, and in.
32 downloads 16 May 2026 → Making Objects Behave Like Built-ins
[ download ]
// Exercise
calories_tracker_oop.py
Calories Tracker — OOP version. Same logic, new structure. CalorieTracker class with user parameter, independent files …
[ download ]
// Exercise
safe_paws_oop.py
Safe Paws — OOP version. Two classes: Animal and Shelter. Add, search, edit, adopt, activity report. Shelter("city_shel…
30 downloads 18 May 2026 → Safe Paws Update — Round 2/2
[ download ]
// Other
oop_mistakes.py
Common OOP Mistakes — 8 mistakes, 8 fixes. self, super(), mutable defaults, class vs instance attributes, single respon…
29 downloads 18 May 2026 → Common OOP Mistakes
[ download ]
// Cheatsheet
OOP — The Full Picture
OOP — The Full Picture. Class and object, self, encapsulation, inheritance, polymorphism, special methods, common mista…
29 downloads 18 May 2026 → OOP — The Full Picture
[ download ]
// Exercise
task_manager_r1.py
Task Manager — Round 1. Task and TaskList classes, add, load, display, persistence. Two classes, one system, ready to r…
31 downloads 18 May 2026 → Task Manager Project — Round 1
[ download ]
// Exercise
task_manager.py
Task Manager — Round 2. Update status, filter by priority and status, delete with confirmation, export report grouped b…
30 downloads 18 May 2026 → Task Manager Project — Round 2
[ download ]
// Achievement
oop_complete_medal.stl
You finished the OOP chapter. Download, print, and keep it. You earned it.
31 downloads 18 May 2026 → This One's Yours — OOP
[ download ]