ó ŅÕfc@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.pyt changecolorscCsztdƒtdƒtdƒtdƒddddgattd ƒtƒttd ƒtt d ƒttdƒd S( Ntcircletusergā?itredtgreentbluetyellowiiit EVENTLOOP( tshapet resizemodet shapesizetwidthR R R 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.pyts