Python Inheritance and Abstract Classes | OOP
ฝัง
- เผยแพร่เมื่อ 26 มิ.ย. 2024
- In this video you learn how to create an abstract base class in Python and how to derive your child classes from it. We create an abstract class for endpoints and inherit unique endpoints from this class.
Chapters in this video:
0:00 - Intro and Explanation
00:45 - Overview
01:27 - Create abstract class
03:16 - Inherit from base class
04:15 - Run app (1 endpoint)
04:32 - Derive another endpoint
05:36 - Register new endpoint
06:30 - Run app (2 endpoints)
07:02 - Outro
Video related links:
- Mastering Python: www.blueantoinette.com/2023/1...
- Conda Setup Guide: • How to create a virtua...
- SSH into Remote VM with VS Code: • SSH into Remote VM wit...
Please support our effort and purchase the source code of the entire TH-cam Series:
www.blueantoinette.com/produc...
About us:
- Homepage: www.blueantoinette.com/
- Contact us: www.blueantoinette.com/contac...
- Twitter: / blueantoinette_
- Consulting Hour: www.blueantoinette.com/produc...
Hashtags:
#python #inheritance #oop #pythonprogramming - วิทยาศาสตร์และเทคโนโลยี
Thanks. What about tutorial via simple project.
Great suggestion!