PyDocs

Nav

Graphical user interfaces with Tk

register_shape

turtle

function
  • register_shape(name, shape=None)
Add a turtle shape to the TurtleScreen’s shape list. It can be called in four different ways:
Changed in 3.14
  • 3.14: Added support for PNG, PGM, and PPM image formats. Both a shape name and an image file name can be specified.
1 Example
>>> screen.register_shape("turtle.gif")
from the Python docs
See Also
No see-alsos for turtle/register_shape
0 Notes
No notes for register_shape