[Tkinter-discuss] about Tkinter delete
jiayuaw at yahoo.com.sg
Mon Nov 7 02:26:04 CET 2011
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
#draw new point
# . . .
The error message that I get is:
. . . in update
File "C:\PYTHON26\LIB\LIB-TK\Tkinter.py", line 2181, in delete
self.tk.call((self._w, 'delete') + args)
TclError: invalid command name ".44593760"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tkinter-discuss