MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / hideturtle

Method hideturtle

Python/Turtle.py:2207–2221  ·  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 named turt

(self)

Source from the content-addressed store, hash-verified

2205 self.pen(shown=True)
2206
2207 def hideturtle(self):
2208 """Makes the turtle invisible.
2209
2210 Aliases: hideturtle | ht
2211
2212 No argument.
2213
2214 It's a good idea to do this while you're in the
2215 middle of a complicated drawing, because hiding
2216 the turtle speeds up the drawing observably.
2217
2218 Example (for a Turtle instance named turtle):
2219 >>> turtle.hideturtle()
2220 """
2221 self.pen(shown=False)
2222
2223 def isvisible(self):
2224 """Return True if the Turtle is shown, False if it's hidden.

Callers 1

pong.pyFile · 0.80

Calls 1

penMethod · 0.95

Tested by

no test coverage detected