Constructor
in Python
§ Whenever
a class is instantiated __new__ and
__init__ methods are called.
§ __new__
method will be called when an object is created and __init__
method will be called to initialize the object.
§ ...
Python OOP Tutorial 1: Difference between Procedure Oriented and object oriented programming language?


OOP's Concept in Python
§ Object-Oriented
Programming is a methodology or paradigm to design a program using classes and
objects.
ü Object
ü Class
ü Inheritance
ü Polymorphism
ü Abstraction
ü...