While Python isn’t purely an object-oriented language, it’s flexible enough and powerful enough to allow you to build your applications using the object-oriented paradigm. One of the ways in which Python achieves this is by supporting inheritance, which it does with super(). In this lesson, you’ll cover how to use super() to access a parent class’s constructor.
Click here to learn more: https://realpython.com/courses/python...
Смотрите видео Object Inheritance in Python онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Real Python 16 Январь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,265 раз и оно понравилось 120 людям.