banner

© 2004-19 ict4u.net

Python Turtle

Originally, the turtle was a robot It moved around the floor when the user typed commands into a computer. Today, it is a picture on the canvas drawing area in Python
The default turtle is drawn as a triangle but this can be changed in the code

The Screen() function creates a graphics window.
The graphics window contains a canvas, which is the area inside the window on which can be drawn on

The turtle is moved using a combination of X and Y co‐ordinates and left or right turns.
the graphic below illustrates the principle.

Turtle Commands and Methods

Pystart Presentation on using Turtle

The complete set of methods to program with:

Python Turtle Documentation

List of colours to use in an easy to find way:

Complete colour list
Method Description
turtle shapes How to draw basic shapes