Dennis Lee Bieber <[EMAIL PROTECTED]> writes:
> On Thu, 26 May 2005 14:33:45 +0200, VK <"myname"@example.invalid>
> declaimed the following in comp.lang.python:
>
>> 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
Kent Johnson wrote:
> VK wrote:
>
>>> On Thu, 26 May 2005 14:33:45 +0200, VK <"myname"@example.invalid>
>>> declaimed the following in comp.lang.python:
>>>
>>>
Hi, all!
In my programm i have to insert a variable from class 2 to class 1
and I get error NameError: global name '
VK wrote:
>> On Thu, 26 May 2005 14:33:45 +0200, VK <"myname"@example.invalid>
>> declaimed the following in comp.lang.python:
>>
>>
>>> 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. How do I
>>>
> On Thu, 26 May 2005 14:33:45 +0200, VK <"myname"@example.invalid>
> declaimed the following in comp.lang.python:
>
>
>>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. How do I get access
>>to d.entry
On 5/26/05, VK <[EMAIL PROTECTED]> wrote:
> That is not real code, only dummy describing the problem
We realise that. The problem is that there are problems in your dummy
in addition to the real problems, and we can't tell them apart.
--
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonl
> 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.entryf
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
VK wrote:
>> I don't know if your're actually calling the classes '1' and '2', but
>> that's a really bad idea!
>>
>>
>>> class 2:
>>> def ins(self)
>>> d.entry.insert(variable)
>>
>>
>>
>> This is probably where you're getting the NameError. d is not defined,
>> so calling d.entry will gen
> I don't know if your're actually calling the classes '1' and '2', but
> that's a really bad idea!
>
>
>>class 2:
>> def ins(self)
>> d.entry.insert(variable)
>
>
> This is probably where you're getting the NameError. d is not defined,
> so calling d.entry will generate an error.
>
>
I don't know if your're actually calling the classes '1' and '2', but
that's a really bad idea!
> class 2:
>def ins(self)
>d.entry.insert(variable)
This is probably where you're getting the NameError. d is not defined,
so calling d.entry will generate an error.
Reidar
--
http://mai
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. How do I get access
to d.entry.insert() method of class 1
class 1:
self.entry = Entry(self.entryframe)
self.entry.pack()
self.button = Button(comma
11 matches
Mail list logo