Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /lib64/python3.8/turtledemo/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python3.8/turtledemo/__pycache__/two_canvases.cpython-38.pyc
U

e5d_�@s:dZddlmZmZmZdd�Zedkr6e�e��dS)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	CsNt��}tj|dddd�}tj|dddd�}|��|��t|�}|�ddd�t|�}|�ddd�t|�}t|�}|�dd	�|�d
�|�dd�|�d
�||fD]}|�	d
�|�
d�q�|�
d�||fD]}|��q�td�D]&}||fD]}|�
d�|�
d�q�q�||fD]*}|��|�
d�|��|�d��qdS)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�//usr/lib64/python3.8/turtledemo/two_canvases.py�mains>






r�__main__N)�__doc__r
rrrr�__name__Zmainlooprrrr�<module>s
)

ZeroDay Forums Mini