Re: question about Tkinter delete

2011-11-07 Thread Peter Otten
Kristen Aw wrote: > I don't understand why I get this error. I'm trying to delete the existing points, then redraw them after this bit of code to 'animate' my simulation. > > def update(self, point1, point2): > # Deletes existing points > if self.point1: > self.w.dele

question about Tkinter delete

2011-11-06 Thread Kristen Aw
Hi all I don't understand why I get this error. I'm trying to delete the existing points, then redraw them after this bit of code to 'animate' my simulation. def update(self, point1, point2):         # Deletes existing points         if self.point1:             self.w.delete(point1)