After five years of training developers how to work with Python there is one question I fear the most: “WHAT IS SELF?”. It seems that once you understand self, you loose the ability to explain it. In this video, I took a different approach and I show how classes work under the hood by emulating classes and objects with dictionaries.
C H A P T E R S
0:40 Underlying structure of an object
1:00 Instantiate function
1:50 Class initializer function
2:15 Calling a method process
3:00 Getting data and method attributes
M Y O N L I N E T R A I N I N G
🎓Like my style of teaching? Try free chapters of online courses: https://pythonforeveryone.com
L I N K S I N T H E V I D E O
https://docs.python.org/3/tutorial/cl...
#self #pythonself #python
Смотрите видео How Self in Python Actually Works онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Python for Everyone 28 Февраль 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 839 раз и оно понравилось 50 посетителям.