Tutorial 10 : OOPs in Python — Magic methods continued …

Gaurav Patil
Feb 13, 2022
Photo by Hitesh Choudhary on Unsplash

Missed previous tutorial ? : Click hare

Feel free to navigate directly to any topic given below :

magic method __contains__() for user-defined class objects

magic methods __len__() and __getitem__() for user-defined class objects

magic method __call__() for user-defined class objects

magic method example

magic method __contains__() for user-defined class objects

magic methods __len__() and __getitem__() for user-defined class objects

magic method __call__() for user-defined class objects

magic method example

Congratulations !! You completed this tutorial series.

You came to the end of this OOPs tutorials. I hope you managed to get decent understanding of what OOP is and how it works in Python.

If you like these tutorials and want me to cover other topics then do let me know in the comment box.

Happy learning !!!

--

--

Gaurav Patil

Machine Learning Engineer drawing insights from mathematics.