Your IP : 3.14.132.164


Current Path : /lib64/python2.7/Demo/turtle/
Upload File :
Current File : //lib64/python2.7/Demo/turtle/tdemo_paint.pyc

�
��mec@s_dZddlTddd�Zddd�Zd�Zedkr[e�ZeGHe�ndS(	s�       turtle-example-suite:

            tdemo_paint.py

A simple  eventdriven paint program

- use left mouse button to move turtle
- middle mouse button to change color
- right mouse button do turn filling on/off
 -------------------------------------------
 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.pytchangecolorscCsztd�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