Now you’re ready to use object-oriented programming (OOP) to write more readable and maintainable code in Python! With OOP, you can create blueprints for objects that contain both data and behaviors.
In this video course, you’ve learned how to:
- Create a
class
- Use classes to create new objects
- Instantiate classes with attributes and methods
To learn more about OOP, check out:
- Object-Oriented Programming (OOP) in Python 3
- Intro to Object-Oriented Programming (OOP) in Python
- Getters and Setters: Manage Attributes in Python
- Operator and Function Overloading in Custom Python Classes
OOP is a big topic, and Real Python has several resources to help you expand your skill set. There’s even a learning path that’ll help you solidly grasp the fundamentals of OOP so that you can make your programs easier to write and maintain.
To reinforce what you’ve learned here, complete the quiz in the next lesson. Then, head over to Python Basics Exercises: Object-Oriented Programming.
Then, keep growing your skill set as a programmer by continuing with the other Python Basics courses and getting yourself a copy of Python Basics: A Practical Introduction to Python 3.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
risko619 on July 19, 2023
I really didnt understand this, nor was I able to run the exercise. Feeling a bit overwhelmed with all this stuff now