Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide the turtle in python

How do you hide the turtle while drawing in Python 3. It is covering my work and I need to see exact corners and other things. Is it also possible to draw with it hidden? Thank you.

I have tried this command and it did nothing. t = turtle.Turtle() s = t.getscreen()

like image 329
The Questionist Avatar asked Dec 07 '25 02:12

The Questionist


1 Answers

You have hide the turtle with the following code.

# hide the turtle
turtle.hide_turtle()
like image 165
CodeCupboard Avatar answered Dec 08 '25 15:12

CodeCupboard