Getting Started with Python Object Oriented Programming: A Hands-On Approach
1h 11mBeginner2024-05-23
Authors

Robin Andrews
Founder of Compucademy
Course details
Are you looking to get started with Python object-oriented programming, but not sure where to begin? This course covers everything you need to know to begin object-oriented programming with Python. Join instructor Robin Andrews as he covers some of the basic concepts and terminology of Python OOP, including how to work with Python objects and properties and methods of user-defined classes, before diving into more advanced topics like encapsulation with getters and setters, class inheritance, polymorphism, and more.
Skills covered
Object-Oriented ProgrammingPythonProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
Introduction
- Get started with Python object-oriented programming
- What you should know
- Using Codespaces
Getting Started
- Getting started
- Terminology
- Challenge - Creating objects from a user-defined class
- Solution - Creating objects from a user-defined class
Properties and Methods
- Python object properties
- Python object methods
- Challenge - Python object properties and methods
- Solution - Python object properties and methods
Turtle Graphics and OOP
- Exploring the turtle graphics demo programs
- Working with OOP in Python turtle graphics
- Challenge - Working with OOP in Python turtle graphics
- Solution - Working with OOP in Python turtle graphics
Encapsulation
- Introduction to encapsulation
- Getters
- Setters
- Challenge - Getters and setters
- Solution - Getters and setters
Class Inheritance
- Class inheritance - Introduction
- Class inheritance - Example
- Challenge - Class inheritance
- Solution - Class inheritance
Polymorphism
- Polymorphism - Introduction
- Polymorphism - Example
- Challenge - Polymorphism
- Solution - Polymorphism
Conclusion
- What's next