Course
Object-Oriented Programming in Python
AdvancedSkill Level
Updated 02/2026Start Course for Free
Included withPremium or Teams
PythonProgramming4 hr13 videos44 Exercises3,600 XP100K+Statement 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
Prerequisites
Writing Functions in Python1
OOP Fundamentals
In this chapter, you'll learn what object-oriented programming (OOP) is, how it differs from procedural-programming, and how it can be applied. You'll then define your own classes, and learn how to create methods, attributes, and constructors.
2
Inheritance and Polymorphism
Inheritance and polymorphism are the core concepts of OOP that enable efficient and consistent code reuse. Learn how to inherit from a class, customize and redefine methods, and review the differences between class-level data and instance-level data.
3
Integrating with Standard Python
In this chapter, you'll learn how to make sure that objects that store the same data are considered equal, how to define and customize string representations of objects, and even how to create new error types. Through interactive exercises, you’ll learn how to further customize your classes to make them work more like standard Python data types.
4
Best Practices of Class Design
How do you design classes for inheritance? Does Python have private attributes? Is it possible to control attribute access? You'll find answers to these questions (and more) as you learn class design best practices.
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 NowFAQs
Is this course suitable for beginners?
This course is designed for users with basic Python understanding. It starts by introducing the fundamental concepts of object-oriented programming, progress to cover advanced topics such as inheritance, and introduces best practices for class design.
Will I receive a certificate at the end of the course?
Yes, you will receive a certificate upon completion of the course.
Who will benefit from this course?
Object-oriented programming is widely used in software development, and this course can benefit many job roles such as software engineers, web developers, data scientists, and game developers.
Join over 19 million learners and start 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.