KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /lib64/python2.7/Demo/turtle/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/Demo/turtle/tdemo_clock.pyo
�
6��fc@s�dZddlTddlmZed�dd�Zd�Zd�Zd	�Zd
�Zd�Z	d�Z
d
�Zd�Ze
dkr�e�ZeGHe�ndS(s�       turtle-example-suite:

             tdemo_clock.py

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



cCsjt|d�td�t|d�td�t|�td�t|�td�t|d�dS(Ngffffff�?iZg@ix(tfdtrttlt(tlaengetspitze((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pythands





cCsKt�t|d�t�t||�t�t�}t||�dS(Ng333333�?(tresetR
t
begin_polyRtend_polytget_polytregister_shape(tnameRRt	hand_form((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pytmake_hand_shape$s
	cCs�t�td�xitd�D][}t|�|ddkrZtd�t|d�ntd�t|�td�qWdS(Nii<iiiii(RtpensizetrangeR
RtdotR(tradiusti((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt	clockface.s



cCs2td�tddd�tddd�tddd�td	�t�atjd�tjd
d�t�atjd�tjdd
�t�atjd�tjdd�xDtttfD]3}|j	d�|j
ddd�|jd�q�Wt�t�a
t
j�t
j�t
jd�dS(NRtsecond_handi}itminute_handi�t	hour_handiZi�tgray20tgray80tblue1tred1tblue3tred3tuseriiiiU(tmodeRRtTurtleRtshapetcolorR R!t
resizemodet	shapesizetspeedthttwritertputbk(R((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pytsetup;s.

	
	
	

	

cCs)dddddddg}||j�S(NtMondaytTuesdayt	WednesdaytThursdaytFridaytSaturdaytSunday(tweekday(ttt	wochentag((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyR>Ws	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.pytdatum\s		cCstj�}|j|jd}|j|d}|j|d}tt�tj	�tj
�tjd�tjt
|�dddd�tjd
�tjt|�dddd�tjd�tt�tjd|�tjd|�tjd
|�tt�ttd�dS(Ng���ư>gN@iAtaligntcentertfonttCourieritboldi�iUiiid(RMiRN(RMiRN(RttodaytsecondtmicrosecondtminutethourttracertFalseR1tclearthomeRtwriteR>tbackRItTrueRt
setheadingR R!tontimerttick(R=tsekundeRRtstunde((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyR]ds(









cCs&tt�t�tt�t�dS(Nt	EVENTLOOP(RTRUR4RZR](((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pytmainzs


t__main__N(t__doc__tturtleRR)R
RRRR4R>RIR]Rat__name__tmsgtmainloop(((s//usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt<module>s 

		
	
						

Anon7 - 2021