why do I get name not defined error
zaheer.agadi at gmail.com
zaheer.agadi at gmail.com
Wed Feb 18 12:13:17 EST 2009
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
More information about the Python-list
mailing list