[Tutor] how to instantiate a class
Abhishek Kumar
abhishek.luck at gmail.com
Thu Feb 26 08:08:27 CET 2009
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 ??
More information about the Tutor
mailing list