Start Learning Python For Free
BeginnerSkill Level
4 hr
77.2K learners
Intermediate Python
BeginnerSkill Level
4 hr
1.1M learners
What is object-oriented programming (OOP)?
What are classes and objects in Python?
How do I define a class in Python?
How do I create an object from a class in Python?
Topics
Learn more about Python
course
Object-Oriented Programming in Python
4 hours
77.2K
course
Introduction to Python for Finance
4 hours
69K
course
Introduction to Data Science in Python
4 hours
456.6K
See More
RelatedSee MoreSee More
tutorial
Encapsulation in Python Object-Oriented Programming: A Comprehensive Guide
Learn the fundamentals of implementing encapsulation in Python object-oriented programming.
Bex Tuychiev
11 min
tutorial
Python Classes Tutorial
In Python, everything is an object. Numbers, strings, DataFrames, even functions are objects. In particular, everything you deal with in Python has a class, a blueprint associated with it under the hood.
DataCamp Team
3 min
tutorial
Python Data Classes: A Comprehensive Tutorial
A beginner-friendly tutorial on Python data classes and how to use them in practice
Bex Tuychiev
9 min
tutorial
Inner Classes in Python
In this basic Python tutorial, you'll learn about why and when you should use inner classes.
Hafeezul Kareem Shaik
5 min
tutorial
Python Data Structures Tutorial
Get introduced to Python data structures: learn more about data types and primitive as well as non-primitive data structures, such as strings, lists, stacks, etc.
Sejal Jaiswal
24 min
tutorial
Introduction to Python Metaclasses
In this tutorial, learn what metaclasses are, how to implement them in Python, and how to create custom ones.
Derrick Mwiti
6 min