[Solved] Unexpected results with delete method


You probably defined a function cercle that draws French circles.
The function should look like:

def cercle(canv, x, y, rad):
    return canv.create_oval(x-rad, y-rad, x+rad, y+rad, width=2)

Note that the function must return the circle object. Otherwise self.ouvre is None and then you can not delete it as you do not have a reference to the object in self.can.delete(self.ouvre).

Tested with python 3.2 in windows 7 64bit

solved Unexpected results with delete method