Everything You Need to Know About Classes in Python - Object Oriented Programming Tutorial
Keith Galli via YouTube
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive tutorial on Object Oriented Programming in Python, focusing on classes. Learn why to use object-oriented programming, how to define classes, create class methods, and understand the 'self' keyword. Explore inheritance, subclassing, and the super() method. Discover class method overriding, plotting points with classes, and operator overloading. Gain practical knowledge through examples and explanations, preparing you to integrate classes into your everyday Python code effectively.
Syllabus
- Introduction
- Why use classes?
- Defining our first class in Python
- Class methods
- Passing in default keyword arguments size of our polygons
- Inheritance & subclassing using the super method
- Class method overriding
- Plotting points with classes
- Operator overloading
Taught by
Keith Galli