hello list,

Below is the sample code of a class.


import <someStandardModule>

Class ABC:
             def __init__(self,a,b,c):
                                statement 1
                                 statement 2
             def func(x,y):
                           statement 1
                           statement 2

Here is the question:

how to make an object of this class and how to use the methods listed
in the class.
do i need to create the object in a separate file or in the same file
it can be done ??
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to