Property Decorators: Getters and Setters in Python | Python Tutorials For Beginners

preview_player
Показать описание
In this video, we will learn about the concept of Getters and Setters in Python . The code for the video can be found on GitHub. #python
----------------------------------------

🐱‍💻 🐱‍💻 Course Links:

---
Support my channel:
💜 One time donations via PayPal
Thank you! 🙏

---
Follow me on:
Рекомендации по теме
Комментарии
Автор

Thank you for this very short video on this topic. You really get to the point quickly.

williambarela
Автор

don't call __init__ the constructor function, because it is not; it already has 'self', meaning it was already constructed. The real constructor method is __new__(), and __init__ is a initializer.

alexd