Everything You Need to Know About Classes in Python - Object Oriented Programming Tutorial
Keith Galli via YouTube
35% Off Finance Skills That Get You Hired - Code CFI35
Master AI & Data—50% Off Udacity (Code CC50)
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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