Under and Dunder - Python secret functions
At the start, we will be using dir
to look into the secret functions Python objects have. Eg:
__getitem__
, __iter__
and __next__
Then, we will investigate where is the dunder function goes? Why is it not accessible. And at the end, we will see how dunder functions can change the identity of the Python objects.
This talk is for attendees who have just begin their Python journey. By explaining the dunder functions and the nature of Python objects, attendees will have a better understanding of why Python is fundamentally different from other programming languages. Hopefully, this knowledge will help them out when they continue their Python journeys.
See more of my talks on YouTube.
Share this video
https://cheuk.dev/videos/yqobveaau5w/After having a career in data science, Cheuk now brings her knowledge in data and passion for the tech community as the developer advocate for Anaconda. Cheuk constantly contributes to the open-source community by giving free talks and tutorials and organize sprints to encourage diversity contributions.