ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/usr/lib64/python2.7/Demo/turtle/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pyc

�
��^c@srdZddlmZmZmZddlmZmZd�Zd�Z	e
dkrne	�ZeGHe�ndS(sF      turtle-example-suite:

          tdemo_wikipedia3.py

This example is
inspired by the Wikipedia article on turtle
graphics. (See example wikipedia1 for URLs)

First we create (ne-1) (i.e. 35 in this
example) copies of our first turtle p.
Then we let them perform their steps in
parallel.

Followed by a complete undo().
i����(tScreentTurtletmainloop(tclocktsleepcCs�|g}xGtd|�D]6}|j�}|jd|�|j|�|}qWxvt|�D]h}t|d|�|d}xC|D];}|jd|�|jd|d|�|j|�q�Wq`WdS(Nig�v@g@gffffff�?i(trangetclonetrttappendtabstpencolortfd(tptnetszt
turtlelisttitqtctt((s3/usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pytmn_ecks	


cCst�}|jd�t�}|jd�|j�|jd�|jd�|jdd�t�}t	|dd�t�}||}t
d�t�}xPtg|j�D]}|j
�^q��r�x|j�D]}|j�q�Wq�Wt�}d|||S(	Ntblackitredii$iisLaufzeit: %.3f sec(RtbgcolorRtspeedt
hideturtleR
tpensizettracerRRRtanytturtlestundobufferentriestundo(tsRtattettz1R((s3/usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pytmain$s&	
	



		

	.	t__main__N(t__doc__tturtleRRRttimeRRRR$t__name__tmsg(((s3/usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pyt<module>s			

Zerion Mini Shell 1.0