File "tdemo_clock.pyo"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyo
File size: 4.43 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


Afc@sdZddlTddlmZddZdZdZdZd	Zd
ZdZ	dZ
d
Zedkre
deZeGHendS(s       turtle-example-suite:

             tdemo_clock.py

Enhanced clock-program, showing date
and time
  ------------------------------------
   Press STOP to exit the program!
  ------------------------------------
i(t*(tdatetimeicCs0tt|t|t|tdS(N(tpenuptrighttforwardtlefttpendown(tdistanztwinkel((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pytjumps



cCsjt|dtdt|dtdt|tdt|tdt|ddS(Ngffffff?iZg@ix(tfdtrttlt(tlaengetspitze((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pythands





cCsKtt|dtt||tt}t||dS(Ng333333?(tresetR	t
begin_polyRtend_polytget_polytregister_shape(tnameR
Rt	hand_form((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pytmake_hand_shape"s
	cCsttdxitdD][}t||ddkrZtdt|dntdt|tdqWdS(Nii<iiiii(RtpensizetrangeR	R
tdotR(tradiusti((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt	clockface+s



cCs2tdtdddtdddtdddtd	tatjdtjd
dtatjdtjdd
tatjdtjddxDtttfD]3}|j	d|j
ddd|jdqWtta
t
jt
jt
jddS(Ntlogotsecond_handi}itminute_handit	hour_handiZitgray20tgray80tblue1tred1tblue3tred3tuseriiiiU(tmodeRRtTurtleRtshapetcolorR R!t
resizemodet	shapesizetspeedthttwritertputbk(R((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pytsetup8s.

	
	
	

	

cCs)dddddddg}||jS(NtMondaytTuesdayt	WednesdaytThursdaytFridaytSaturdaytSunday(tweekday(ttt	wochentag((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyR>Ss	cCs^ddddddddd	d
ddg}|j}||jd
}|j}d|||fS(NsJan.sFeb.sMar.sApr.tMaytJunetJulysAug.sSep.sOct.sNov.sDec.is%s %d %d(tyeartmonthtday(tztmonattjtmR=((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pytdatumXs		cCs5tj}|j|jd}|j|d}|j|d}ytttj	tj
tjdtjt
|ddddtjd
tjt|ddddtjdtttjd|tjd|tjd
|ttttdWntk
r0nXdS(Ngư>gN@iAtaligntcentertfonttCourieritboldiiUiiid(RMiRN(RMiRN(RttodaytsecondtmicrosecondtminutethourttracertFalseR1tclearthomeRtwriteR>tbackRItTrueRt
setheadingR R!tontimerttickt
Terminator(R=tsekundeRRtstunde((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyR]`s.










cCs&ttttttdS(Nt	EVENTLOOP(RTRUR4RZR](((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pytmainys


t__main__RN(t__doc__tturtleRR	RRRR4R>RIR]Rbt__name__R)tmsgtmainloop(((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt<module>s