ok

Mini Shell

Direktori : /proc/thread-self/root/lib64/python2.7/Demo/turtle/
Upload File :
Current File : //proc/thread-self/root/lib64/python2.7/Demo/turtle/tdemo_paint.pyo

�
Afc@s_dZddlTddd�Zddd�Zd�Zedkr[e�ZeGHe�ndS(	sp       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 toogles betweem 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
 -------------------------------------------
i����(t*icCs0t�drt�t�nt�t�dS(Ntpendown(tpentend_filltuptdownt
begin_fill(txty((s//usr/lib64/python2.7/Demo/turtle/tdemo_paint.pytswitchupdowns


cCs$tdtd attd�dS(Nii(tcolorstcolor(RR((s//usr/lib64/python2.7/Demo/turtle/tdemo_paint.pytchangecolor scCsztd�td�td�td�ddddgattd	�t�ttd
�tt	d�ttd�dS(
Ntcircletuserg�?itredtgreentbluetyellowiiit	EVENTLOOP(
tshapet
resizemodet	shapesizetwidthR
RR	t
onscreenclicktgotoR(((s//usr/lib64/python2.7/Demo/turtle/tdemo_paint.pytmain%s






t__main__N(t__doc__tturtleR	RRt__name__tmsgtmainloop(((s//usr/lib64/python2.7/Demo/turtle/tdemo_paint.pyt<module>s
		

Zerion Mini Shell 1.0