turtle.done() not working in Spyder
问题 This simple Python script: import turtle bob = turtle.Turtle() bob.forward(50) turtle.done() yields an error when running it using Spyder. The first run works as expected, but after that, the IPython console raises a "Terminator". The same happens when using turtle.exitonclick() instead of turtle.done() . What am I doing wrong? Note that running it from the CLI works fine. 回答1: I don't use Spyder but have exchanged comments with others who have similar problems running turtle in similar