Understanding Python: Magic Methods

4 years ago
1

In this video, I go over magic methods in python classes.
Included in the lesson are a number of examples of the most common magic methods, __init__ and __repr__ as well as more additional methods.
A prerequisite to this video are my videos on classes and class inheritance.
As always, if you have any questions or suggestions for future videos, please leave a comment down below.

Python's documentation on available magic methods: https://docs.python.org/3/reference/datamodel.html

Follow me on twitter: https://twitter.com/JakeJCallahan
Source: https://github.com/JacobCallahan/Understanding/
Timelapse music: 失望した by Eva
Link: https://youtu.be/jVTsD4UPT-k
Outro music: Elix by Synthness
Link: https://youtu.be/yEhj3leVJeY

Loading comments...