Writing an Etch A Sketch in Python Turtle
A Python Turtle Etch A Sketch is a small program with real event-driven logic in it: onkey callbacks, a pen you treat as an object, and state you manage yourself. Here is how I structure it, plus the penup/pendown detail that stops the turtle drawing a line home.