Re: [Tutor] Help with objects

2005-11-22 Thread bob
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

Re: [Tutor] Help with objects

2005-11-22 Thread Danny Yoo
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

Re: [Tutor] Help with objects

2005-11-21 Thread Vincent Wan
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 "

Re: [Tutor] Help with objects

2005-11-21 Thread bob
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