[email protected] wrote:
> I have the following declared in my class, I am trying tp call a
> method defined in the same class
> I am not sure why I am getting name not defined error
Assuming this is part of a method
def method(self):
> if options.uploadFile != None :
> print "This is path", the_rest
> filePath = the_rest
> UploadFile(None,filePath)
you have to change the above line to
self.UploadFile(filePath)
Now consider reading a tutorial before you proceed.
Peter
--
http://mail.python.org/mailman/listinfo/python-list