error when calling method of class

Sean Farrow sean.farrow at
Fri Jun 8 15:48:52 CEST 2007

I have defined a class in that class is a method defined as follows:
def splitTime(n):
seconds =float(n)
I call the method in another procedure as follows:
the traceback states that splitTime takes one argument two given. why is 
this occuring?
if I try calling it like:
I get a name resultion error saying that the global name splitTime is 
not defined.
Any help apreciated.

More information about the Python-list mailing list