MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / hideturtle

Method hideturtle

tools/python-3.11.9-amd64/Lib/turtle.py:2309–2323  ·  view source on GitHub ↗

Makes the turtle invisible. Aliases: hideturtle | ht No argument. It's a good idea to do this while you're in the middle of a complicated drawing, because hiding the turtle speeds up the drawing observably. Example (for a Turtle instance

(self)

Source from the content-addressed store, hash-verified

2307 self.pen(shown=True)
2308
2309 def hideturtle(self):
2310 """Makes the turtle invisible.
2311
2312 Aliases: hideturtle | ht
2313
2314 No argument.
2315
2316 It's a good idea to do this while you're in the
2317 middle of a complicated drawing, because hiding
2318 the turtle speeds up the drawing observably.
2319
2320 Example (for a Turtle instance named turtle):
2321 >>> turtle.hideturtle()
2322 """
2323 self.pen(shown=False)
2324
2325 def isvisible(self):
2326 """Return True if the Turtle is shown, False if it's hidden.

Callers 7

mainFunction · 0.80
mainFunction · 0.80
maketreeFunction · 0.80
startFunction · 0.80
doit1Function · 0.80
doit2Function · 0.80
doit3Function · 0.80

Calls 1

penMethod · 0.95

Tested by

no test coverage detected