Programming Foundations
Python Object-Oriented Programming
Model real things in code with classes and objects. Learn the object-oriented style used by PyTorch, scikit-learn and LangChain.
- Intermediate
- About 10 hours
- 4 modules
- 15 lessons
- Free
This course is not released yet. We publish courses one at a time, each one complete. The full syllabus is below.
What you will learn
- Classes and ObjectsWhy Objects?, Defining a Class, The __init__ Method and more
- BehaviourMethods, Class Methods and Static Methods, Properties and more
- RelationshipsInheritance, Overriding and super(), Polymorphism and more
- DesignEncapsulation, Abstract Base Classes, Project: Build a Small Class Library
Course syllabus
Not released yet · full syllabus below
- 1
Classes and Objects
4 lessons- 1Why Objects?Soon
- 2Defining a ClassSoon
- 3The __init__ MethodSoon
- 4Instance and Class AttributesSoon
- 2
Behaviour
4 lessons- 5MethodsSoon
- 6Class Methods and Static MethodsSoon
- 7PropertiesSoon
- 8Magic MethodsSoon
- 3
Relationships
4 lessons- 9InheritanceSoon
- 10Overriding and super()Soon
- 11PolymorphismSoon
- 12Composition vs InheritanceSoon
- 4
Design
3 lessons- 13EncapsulationSoon
- 14Abstract Base ClassesSoon
- 15Project: Build a Small Class LibrarySoon