co pyrig ht (ctuto rials po int co python has been an object-oriented lang uag from day one because of thiscreating and using classes and objects are downrig ht easy his helps you become an expert in using python' object-oriented prog ramming support if you don' have any previous experience with object-oriented (ooprog ramming you may want to consult an introductory course on it or at least tutorial of some sort so that you have rasp of the basic concepts howeverhere is small introduction of object-oriented prog ramming (oopto bring you at speedoverview of oop terminolog classa user-defined prototype for an object that defines set of attributes that characterize any object of the class he attributes are data members (class variables and instance variablesand methodsaccessed via dot notation class variablea variable that is shared by all instances of class class variables are defined within class but outside any of the class' methods class variables aren' used as frequently as instance variables are data membera class variable or instance variable that holds data associated with class and its objects func tion overloading he assig nment of more than one behavior to particular function he operation performed varies by the types of objects (arg umentsinvolved instanc variablea variable that is defined inside method and belong only to the current instance of class inheritanc he transfer of the characteristics of class to other classes that are derived from it instanc ean individual object of certain class an object obj that belong to class circlefor exampleis an instance of the class circle instantiation he creation of an instance of class method special kind of function that is defined in class definition bjec unique instance of data structure that' defined by its class an object comprises both data members (class variables and instance variablesand methods perator overloading he assig nment of more than one function to particular operator creating classest he class statement creates new class definition he name of the class immediately follows the keyword class followed by colon as followsclass classname'optional class documentation stringclass_suite he class has documentation string which can be accessed via classname __doc__ he class_suite consists of all the component statements defining class membersdata attributes and functions examplefollowing is the example of simple python class