Python OOP Tutorial 4: Inheritance - Creating Subclasses @coreyms
Python OOP Tutorial 4: Inheritance - Creating Subclasses  @coreyms
Uploaded July 2016 | Updated November 2026, 4 days ago
In this Python Object-Oriented Tutorial, we will be learning about inheritance and how to create subclasses. Inheritance allows us to inherit attributes and methods from a parent class. This is useful because we can create subclasses and get all of the functionality of our parents class, and have the ability to overwrite or add completely new functionality without affecting the parents class in any ways. Let's get started.

Python OOP 1 - Classes and Instances - youtu.be/ZDa-Z5JzLYM
Python OOP 2 - Class Variables - youtu.be/BJ-VvGyQxho
Python OOP 3 - Classmethods and Staticmethods - youtu.be/rq8cL2XMM5M
Python OOP 4 - Inheritance - youtu.be/RSl87lqOXDE
Python OOP 5 - Special (Magic/Dunder) Methods - youtu.be/3ohzBxoFHAY
Python OOP 6 - Property Decorators - youtu.be/jCzT9XFZ5bw

The code from this video can be found at:
github.com/CoreyMSchafer/code_snippets/tree/master/Object-Oriented


✅ Support My Channel Through Patreon:
patreon.com/coreyms

✅ Become a Channel Member:
youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join

✅ One-Time Contribution Through PayPal:
goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - coreyms.com
My Second Channel - youtube.com/c/coreymschafer
Facebook - facebook.com/CoreyMSchafer
Twitter - twitter.com/CoreyMSchafer
Instagram - instagram.com/coreymschafer

#Python
Python OOP Tutorial 4: Inheritance - Creating SubclassesPython Tutorial: Type Hints - From Basic Annotations to Advanced GenericsHow to Create a Network of Machines in VirtualBox with SSH AccessHomebrew Tutorial: Simplify Software Installation on Mac Using This Package ManagerPython FastAPI Tutorial (Part 17): Testing the API - Pytest, Fixtures, and Mocking External ServicesPython Django Tutorial: Deploying Your Application (Option #1) - Deploy to a Linux ServerPython Pandas Tutorial (Part 7): Sorting DataBest Sublime Text Features and Shortcuts (Mac)5 Essential Skills Every Well-Rounded Programmer Should KnowPython Pandas Tutorial (Part 10): Working with Dates and Time Series DataPython Flask Tutorial: Full-Featured Web App Part 3 - Forms and User InputMatplotlib Tutorial (Part 1): Creating and Customizing Our First Plots
Corey Schafer |

Python OOP Tutorial 4: Inheritance - Creating Subclasses

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER