At 09:04 PM 11/21/2005, Vincent Wan wrote:
>Thank you bob. I fixed the errors where I tried to index a dictionary
>with name()
>so so that they say name[]
>
>>>Beyond the error I'm still not sure I understand how to make and
>>>use a tree data structure using objects.
>
>There is a new error as wel
On Mon, 21 Nov 2005, Vincent Wan wrote:
> Thank you bob. I fixed the errors where I tried to index a dictionary
> with name() so so that they say name[]
>
> >> Beyond the error I'm still not sure I understand how to make and use
> >> a tree data structure using objects.
>
> There is a new error
Thank you bob. I fixed the errors where I tried to index a dictionary
with name()
so so that they say name[]
>> Beyond the error I'm still not sure I understand how to make and
>> use a tree data structure using objects.
There is a new error as well
Traceback (most recent call last):
File "
At 08:38 PM 11/21/2005, Vincent Wan wrote:
>I'm trying to write a tree data structure as part of my first
>object oriented program
>
>I have an error "can't assign to function call" caused by this line:
>Tree.nodeList(self.name) = self
Tree.nodeList[self.name] = self
>however, nodeList is a dicti