Re: why do I get name not defined error

2009-02-18 Thread Peter Otten
zaheer.ag...@gmail.com 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

Re: why do I get name not defined error

2009-02-18 Thread Diez B. Roggisch
zaheer.ag...@gmail.com schrieb: 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

why do I get name not defined error

2009-02-18 Thread zaheer . agadi
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) de