02 | OOP in Python | Dunder Methods | Magic Method

Опубликовано: 29 May 2026
на канале: Non Stop Enlightenment
4,034
116

In this OOP in Python Tutorial video, we will be learning about 'Dunder Method' also know as 'Magic Method'. We will be learning about _init__(), __del__(), __repr__(), __str__() methods and __doc_ attribute.
In Python __init__() will be called when the object is created and __del__() will be called when the object is deleted.

In python _repr_ method used to compute the "official" string representation of an object, while _str_ method computes the "informal" string representations of an object.

#DunderMethod
#__init__
#__del__
#__repr__
#__str__
#__doc__
#OOPinPython
#PythonMadeEasy
#NonStopEnlightenment
#PythonTutorial

If you have any queries please post it in
http://samueledison.com/forum