How Self in Python Actually Works

Published: 28 February 2024
on channel: 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


Watch video How Self in Python Actually Works online, duration hours minute second in high quality that is uploaded to the channel Python for Everyone 28 February 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 839 times and liked it 50 visitors.