Course
Intermediate Object-Oriented Programming in Python
AdvancedSkill Level
Updated 02/2025Start Course for Free
Included withPremium or Teams
PythonProgramming4 hr11 videos40 Exercises3,300 XP7,709Statement of Accomplishment
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Loved by learners at thousands of companies
Training 2 or more people?
Try DataCamp for BusinessCourse Description
Level up your OOP skills!
Ready to unlock the power of object-oriented programming? You’re in the right place! In this course, you’ll build on the foundations of object-oriented programming to develop and hone the skills you need to write robust, production-ready code with Python.Multilevel inheritance and method overloading
Apply the basic principles of inheritance to create classes that inherit functionality from more than a single parent. Unlock a new array of capabilities with method overloading to create your own implementations of built-in operators, enabling your classes to be used in new and exciting ways.Type Hinting and Descriptors
Take your skills to the next level with type hinting, and watch as your code becomes easier to read, write, and troubleshoot. Customize the way an attribute is set, accessed, and deleted using descriptors and other Python-native techniques. Learn to build your own custom iterators to navigate a collection or generate a stream of data.Abstract Base Classes and Design Patterns
Discover the power of abstract base classes and how they can be used to create "blueprints" for similar classes. Practice building formal and informal interfaces to create and implement contracts between classes. Finally, the course will be wrapped up by architecting and building classes using the factory method design pattern.Prerequisites
Introduction to Object-Oriented Programming in Python1
Overloading and Multiple Inheritance
Recall the fundamentals of object-oriented programming, and unlock the functionality of Python operators using overloading. Design and build classes that implement multiple and multilevel inheritance.
2
Custom Class Features and Type Hints
Level-up your Python skills with type hinting. Practice creating magic methods to handle attempts to access an attribute outside an object’s namespace, or customize how an attribute is set. Build descriptors to control the way an attribute is stored, retrieved or deleted, and create your own custom iterators to traverse a collection of objects or a data stream.
3
Object-oriented design patterns
Learn to build "blueprints" for Python classes using abstract base classes. Explore how interfaces create contracts to be fulfilled by other classes. Leverage interfaces and build classes using the factory method design pattern.
Intermediate Object-Oriented Programming in Python
Course Complete
Earn Statement of Accomplishment
Add this credential to your LinkedIn profile, resume, or CVShare it on social media and in your performance review
Included withPremium or Teams
Enroll NowJoin over 19 million learners and start Intermediate Object-Oriented Programming in Python today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.