Python’s Turtle

Here’s a thing most people are surprised by when they first find it: Python has a built-in turtle graphics module that can spawn its own Tk graphics window and draw stuff. Minimal example:

[code lang=python]
from turtle import Turtle

t = Turtle()
for step in range(36):

Leave a Reply