/opt/imh/python3.13/lib/python3.13/turtledemo/__pycache__
Edit: /opt/imh/python3.13/lib/python3.13/turtledemo/__pycache__/paint.cpython-313.pyc (2095B)
e f S r SSK7 SS jrSS jrS r\S:X a \" 5 r\" \5 \" 5 gg) ai turtle-example-suite:
tdemo_paint.py
A simple event-driven paint program
- left mouse button moves turtle
- middle mouse button changes color
- right mouse button toggles between pen up
(no line drawn when the turtle moves) and
pen down (line is drawn). If pen up follows
at least two pen-down moves, the polygon that
includes the starting point is filled.
-------------------------------------------
Play around by clicking into the canvas
using all three mouse buttons.
-------------------------------------------
To exit press STOP button
-------------------------------------------
)*c z [ 5 S ( a [ 5 [ 5 g [ 5 [ 5 g )Npendown)penend_fillupdown
begin_fillxys 6/opt/imh/python3.13/lib/python3.13/turtledemo/paint.pyswitchupdownr s
uY
c N [ SS [ S S - q [ [ S 5 g )N r )colorscolorr s r changecolorr s$
ABZr
"F &)r c [ S5 [ S5 [ S5 [ S5 / SQq[ [ S 5 [
5 [ [ S5 [ [ S5 [ [ S5 g )
Ncircleuserg ? )redgreenblueyellowr r EVENTLOOP)
shape
resizemode shapesizewidthr r r
onscreenclickgotor r r mainr' % sV (Ov
bM !H-F &)N$q+a ,q!r __main__N)r r ) __doc__turtler r r' __name__msgprintmainloopr&