Access from one class to methode of other class

VK "myname" at example.invalid
Thu May 26 12:31:54 EDT 2005


> VK wrote:
> 
>>Hi, all!
>>
>>In my programm i have to insert a variable from class 2 to class 1 and I
>>get error NameError: global name 'd' is not defined. 
> 
> 
> Looking at your code snippet, I think you have a lot of other errors
> before.
> 
> 
>>class 1:
>>   self.entry = Entry(self.entryframe)
> 
> NameError : self is not defined
> 
> etc...
> 

That is not real code, only dummy describing the problem



More information about the Python-list mailing list