Hi, 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
if options.uploadFile != None :
print "This is path", the_rest
filePath = the_rest
UploadFile(None,filePath)
def UploadFile(self,path):
print "I wil upload now"
os.chdir(homeFolder)
config = ConfigParser.ConfigParser()
.....
any ideas why the error name UploadFile not defined
Thnaks
--
http://mail.python.org/mailman/listinfo/python-list
