Your IP : 216.73.216.196


Current Path : /opt/alt/python310/lib64/python3.10/turtledemo/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/turtledemo/__pycache__/two_canvases.cpython-310.opt-1.pyc

o

0�i_�@s>dZddlmZmZmZdd�Zedkre�e��dSdS)z�turtledemo.two_canvases

Use TurtleScreen and RawTurtle to draw on two
distinct canvases in a separate window. The
new window must be separately closed in
addition to pressing the STOP button.
�)�TurtleScreen�	RawTurtle�TKc	CsLt��}tj|dddd�}tj|dddd�}|��|��t|�}|�ddd�t|�}|�ddd�t|�}t|�}|�dd	�|�d
�|�dd�|�d
�||fD]}|�	d
�|�
d�qV|�
d�||fD]}|��qltd�D]}||fD]}|�
d�|�
d�q}qw||fD]}|��|�
d�|��|�d�q�dS)Ni,��z#ddffff)�widthZheightZbgz#ffeeee�333333�?�Zred)rrr�Zblue)rrr�turtle�$���2�H�6Z	EVENTLOOP)rZTkZCanvasZpackrZbgcolorrZcolorr�shape�ltZ
begin_fill�range�fdZend_fillZpuZbk)	�rootZcv1Zcv2�s1�s2�p�q�t�i�r�>/opt/alt/python310/lib64/python3.10/turtledemo/two_canvases.py�mains@





�
r�__main__N)�__doc__r
rrrr�__name__Zmainlooprrrr�<module>s)�