How Self in Python Actually Works

Veröffentlicht am: 28 Februar 2024
auf dem Kanal: Python for Everyone
839
50

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


Auf dieser Seite können Sie das Online-Video How Self in Python Actually Works mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Python for Everyone 28 Februar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 839 Mal angesehen und es wurde von 50 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!