Python OOP getters setters, decorator property, classmethod, staticmethod

Publié le: 07 January 2021
sur la chaîne: Python Hub Studio
49,146
2k

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Python OOP getters setters, decorator property, classmethod, staticmethod durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Python Hub Studio 07 January 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 49,146 fois et il a aimé 2 mille téléspectateurs. Bon visionnage!