turtle.exitonclick() Bind bye() method to mouse clicks on the Screen. If the value “using_IDLE”
turtle.onkeypress(fun, key=None)
turtle.turtles() Return the list of turtles on the screen.
Cmd.emptyline() Method called when an empty line is entered in response to the prompt. If this method is not overridden, it
turtle.home() Move turtle to the origin – coordinates (0,0) – and set its heading to its start-orientation (which depends on
shlex.lineno Source line number (count of newlines seen so far plus one).
turtle.get_shapepoly() Return the current shape polygon as tuple of coordinate pairs. This can be used to define a new shape
shlex.sourcehook(filename) When shlex detects a source request (see source below) this method is given
shlex.error_leader(infile=None, lineno=None) This method generates an error message leader in the format of a Unix C compiler
turtle.done() Starts event loop - calling Tkinter’s mainloop function. Must be the last statement in a turtle graphics program
Page 10 of 17