What is Object-Oriented Programming (OOP)?

In this video, you’ll learn what object-oriented programming (OOP) is and why it’s used.

Lots of popular frameworks and libraries are written using OOP, so it’s a good tool to have in your Python toolkit.

OOP is a programming paradigm, or a specific way of designing a program. It allows us to think of the data in our program in terms of real-world objects, with both properties and behaviors. These objects can be passed around throughout our program.

Properties define the state of the object. This is the data that the object stores. This data can be a built-in type like int, or even our own custom types we’ll create later.

Behaviors are the actions our object can take. Oftentimes, this involves using or modifying the properties of our object.

Comments & Discussion

Peter T on March 22, 2019

Austin did an excellent job of clearly explaining the various OOP topics in all 7 videos, without leaving any gaps or questions. Now, I’m anxiously waiting for the next set of OOP videos to continue to this course & I hope they show up soon. IMHO, there aren’t enough OOP topics in realpython.com or dbader.org, but there are tons of other Python-related topics in both sites!

Dan Bader RP Team on March 22, 2019

Thanks for your feedback Peter, that’s great to hear. Stay tuned for more Python OOP tutorials and video courses in the future :)

Austin Cepalia RP Team on March 22, 2019

Thanks for the kind words Peter, I’m glad to hear the course was helpful for you.

arnautovdmitry2015 on April 1, 2019

It’s very helpful course. Absolutely nice. Thanks a lot!

Become a Member to join the conversation.