turtle.mainloop()

turtle.mainloop() turtle.done()

Starts event loop - calling Tkinter’s mainloop function. Must be the last statement in a turtle graphics program. Must not be used if a script is run from within IDLE in -n mode (No subprocess) - for interactive use of turtle graphics.

>>> screen.mainloop()
doc_python
2016-10-07 17:45:32
Comments
Leave a Comment

Please login to continue.