window-management

Turtle graphics – How do I control when the window closes?

Turtle graphics – How do I control when the window closes? Question: I have a small python script which draws some turtle graphics. When my script has finished running, the turtle screen automatically closes, so to be able to see the graphics for a while I have to use time.sleep(5) at the end of the …

Total answers: 5