ok

Mini Shell

Direktori : /proc/thread-self/root/proc/thread-self/root/lib64/python2.7/Demo/curses/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/lib64/python2.7/Demo/curses/tclock.pyc

�
Afc@sfddlTddlZddlZdZd�Zd�Zd�Zd�Zd�Zej	e�dS(	i����(t*Ng������@cCs|dkrdSdS(Nii����i((t_x((s*/usr/lib64/python2.7/Demo/curses/tclock.pytsignscCs:ttt|t|���tt|t|���fS(N(tinttroundtASPECTtsintcos(tangletradius((s*/usr/lib64/python2.7/Demo/curses/tclock.pytA2XYscCstj|||�dS(N(tstdscrtaddch(txtytcol((s*/usr/lib64/python2.7/Demo/curses/tclock.pytplotscCsttj�r%tjtj|��n||}||}t|d�}t|d�}	t|�}
t|�}|}|}
||	kr�|	|d}x�tr�t||
|�||kr�dS|dkr�|
|7}
||8}n||
7}||	7}q�Wnr||	d}xatrot||
|�|
|kr5dS|dkrX||
7}||	8}n|
|7}
||7}qWdS(Nii(	tcursest
has_colorsRtattrsett
color_pairtabsRtTrueR(tpairtfrom_xtfrom_ytx2ty2tchtdxtdytaxtaytsxtsyR
Rtd((s*/usr/lib64/python2.7/Demo/curses/tclock.pytdlines>

	


	


cCs$|ad}tj}tjd�tjd�tj�r�tjdtj|�tjdtj|�tjdtj	|�ntj
dd}tjd}t|dt
|t�d�}d|d}|d}d|d}xetdd	�D]T}	|	dd
td}
t|
|�\}}tj||||d|	d�q�Wtjddd
�t|dd�}x�trtjd�tj�}
tj|
�}|d|dd}|dkr�|d8}n|ddtd}t||�\}}|dtd}t||�\}}|ddtd}
t|
|�\}}td||||||td��tjtj�td||||||td��tjtj�tj�r�tjtjd��nt||||td��tj�r&tjtjd��ntjtjddtj|
��tj �|dddkr�|d|kr�|d}tj!�ntj"�}|td�kr�dSt||||td��td||||||td��td||||||td��qvWdS(Ni����iiiiiiiig@g(@s%ds5ASCII Clock by Howard Jones <ha.jones@ic.ac.uk>, 1994ii�gN@t#t.tOtqt (#RRtCOLOR_BLACKtnodelayttimeoutRt	init_pairt	COLOR_REDt
COLOR_MAGENTAtCOLOR_GREENtCOLStLINEStminRRtrangetpiR
taddstrtmaxRtnapmsttimet	localtimeR$tordRt	A_REVERSEtattroffRRtctimetrefreshtbeeptgetch(twintlastbeeptmy_bgtcxtcyRtmradiusthradiustsradiustitsangletsdxtsdyttimttthourstmangletmdxtmdythanglethdxthdy((s*/usr/lib64/python2.7/Demo/curses/tclock.pytmainCsn	


!
'	

''#
$

'(
tmathRR9RRR
RR$RWtwrapper(((s*/usr/lib64/python2.7/Demo/curses/tclock.pyt<module>s
				+	P

Zerion Mini Shell 1.0