Python OOP lesson in which we will consider getter and setter methods, encapsulation, property decorator, as well as classmethod and staticmethod decorators.
And of course in the context, why is all this needed.
00:00 Introduction, encapsulation in python
03:20 attribute _slots_
04:20 python getters setters
08:03 decorator property and setter
12:38 classmethod decorator
18:09 staticmethod decorator
Link to the code from the tutorial:
https://gist.github.com/PythonHubStud...
-------------------------------------------------- -------------------------------------------------- ----------------------------------------------
Become a channel sponsor and you will get access to exclusive bonuses.
More:
/ @pythonhubstudio
-------------------------------------------------- -------------------------------------------------- ----------------------------------------------
OOP course with the practice of writing a program:
• Полный курс уроков обучения ООП Python
Telegram bot development course using an example project:
• Playlist
Subscribe to the channel! Ask questions in the comments!
#PythonHubStudio
#python
Смотрите видео Python OOP getters setters, decorator property, classmethod, staticmethod онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Python Hub Studio 07 Январь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 49,146 раз и оно понравилось 2 тысяч посетителям.