PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /usr/lib64/python3.8/turtledemo/__pycache__/ |
| Server: Linux tamarillo.o2switch.net 4.18.0-553.33.1.lve.el8.x86_64 #1 SMP Tue Dec 24 22:25:00 UTC 2024 x86_64 IP: 109.234.166.180 |
| Dir : //usr/lib64/python3.8/turtledemo/__pycache__/paint.cpython-38.pyc |
U
e5d
� @ sH d Z ddlT ddd�Zddd�Zdd� Zed krDe� Zee� e� d
S )
ap 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 C s( t � d rt� t� nt� t� d S )NZpendown)ZpenZend_fillZupZdownZ
begin_fill��x�y� r �(/usr/lib64/python3.8/turtledemo/paint.py�switchupdown s
r c C s( t dd � t d d� a tt d � d S )N� r )�colors�colorr r r r �changecolor s r c C s` t d� td� td� td� ddddgattd � t� ttd
� tt d� ttd� dS )
NZcircle�userg �?� ZredZgreenZblueZyellowr r � Z EVENTLOOP)
�shapeZ
resizemodeZ shapesize�widthr
r r Z
onscreenclickZgotor r r r r �main% s
r �__main__N)r r )r r ) �__doc__Zturtler r r �__name__�msg�printZmainloopr r r r �<module> s