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/xmas.pyc

�
��^c@s�ddlZddlZdZd�Zd�Zd�Zd�Zd�Zd�Zd	�Z	d
�Z
d�Zd�Zd
�Z
d�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zeje�dS(i����Ns Thomas Gellekum <tg@FreeBSD.org>cCsVtj�rR|d}tj||t�|jtj�|jtj|��ndS(Ni(tcursest
has_colorst	init_pairtmy_bgtattrofftA_COLORtattront
color_pair(twintcolortn((s(/usr/lib64/python2.7/Demo/curses/xmas.pyt	set_colors

cCs)tj�r%|jtjd��ndS(Ni(RRtattrsetR(R((s(/usr/lib64/python2.7/Demo/curses/xmas.pytunset_color&scCs=tj|�tj�dkr9tj�tjd�ndS(Ni����i(Rtnapmststdscrtgetchtbeeptsystexit(tmsecs((s(/usr/lib64/python2.7/Demo/curses/xmas.pytlook_out*s

cCs�x0tdd�D]}tj|dtd��qWx0tdd�D]}tjd|td��qCWx0tdd�D]}tjd	|td��qvWdS(
Niiit|iiPit_i(trangeRtaddchtord(tytx((s(/usr/lib64/python2.7/Demo/curses/xmas.pytboxit0scCs�tjddtd��tjddtd��tjddtd��tjddtd��tjd	dtd
��tjddtd��tjd
dtd��tjddtd��dS(NiitSitEitAi
itOitNit'i(RRR(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytseas<scCs�tjddtd��tjddtd��tjddtd��tjddtd��tjddtd	��tjd
dtd��tjddtd
��tjddtd��tjddtd��dS(NiitGtRiRi	itTi
tIiR"iiR(RRR(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytgreetHscCstjddt�dS(Nii
(RtaddstrtFROMWHO(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytfromwhoUscCs'tttj�tjddtd��tjddtd��tjddtd��tjddtd��tjd	dtd��tjd
dtd��tjddtd��tjdd
td��tjdd
td��tjdd	td��tjddtd��tjd
dtd��tjddtd��tjddtd��tjddtd��tjddtd��tjd	dtd��tjd
dtd��tjddtd��tjddtd��tjddtd��tjddtd��tjddtd��tjd
dtd��tjddtd��tjddtd��tjddtd��tjddtd��tjddd�tjddd�tjddd�tt�tj�t	j�dS(Niit/iii
ii	iiiiii
s\iiiiiiiiRis//////////// \\\\\\\\\\\\s| |s|_|(
RttreescrnRtCOLOR_GREENRRR*R
trefresht	w_del_msg(((s(/usr/lib64/python2.7/Demo/curses/xmas.pyttreeYsH


cCs�tjt�tttj�tjddtd��tjddtd��tjddtd��tjddtd��tjdd	td��tjdd
td��tjd	dtd��tjd	dtd��tjddtd��tjdd
td��tjddtd��tjddtd��tjddtd��tjddtd��tjddtd��tjddtd��tt�tj	�t
j	�dS(Nii	t@iiiiiiiiiii
iiiiiii(R.toverlayt	treescrn2RRt
COLOR_BLUERRR
R0R1(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytballs�s,



cCsltjtjtjB�tttj�tjddtd��tj	�t
t�tj�tj�dS(Niit*(
R5RRtA_BOLDtA_BLINKRtCOLOR_YELLOWRRtstandendR
R0R1(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytstar�s



cCs�tjtjtjB�tttj�tjddtd��tjddtd��tjddtd��tj	tjtjB�t
t�tj�tj�dS(Nii
s'it:it.(
R5RRR9R:RtCOLOR_WHITERRRR
R0R1(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytstrng1�s


cCs�tjtjtjB�tttj�tjddtd��tjddtd��tjddtd��tjddtd	��tjd
dtd��tjd
dtd��tj	tjtjB�t
t�tj�tj�dS(
Niis'i
R>iR?it,ii
i	(
R5RRR9R:RR@RRRR
R0R1(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytstrng2�s


cCs(tjtjtjB�tttj�tjddtd��tjddtd��tjddtd��tjddtd	��tjd
dtd��tjd
dtd��tjd
d
td��tjd
dtd	��tj	tjtjB�t
t�tj�tj�dS(Niis'iR>iR?i
RBiiii
i	(
R5RRR9R:RR@RRRR
R0R1(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytstrng3�s


cCs�tjtjtjB�tttj�tjddtd��tjddtd��tjddtd��tjddtd	��tjd
dtd��tjd
dtd��tjd
d
td��tjd
d
td	��tjd
dtd��tjd
dtd��tjd
dtd��tjd
dtd	��tjddtd��tj	tjtjB�t
t�tj�tj�dS(Ni	is'iR>iR?iRBi
i
iiiiii(
R5RRR9R:RR@RRRR
R0R1(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytstrng4�s(


cCs5tjtjtjB�tttj�tjddtd��tjddtd��tjddtd��tjddtd	��tjd
dtd��tjd
dtd��tjd
d
td��tjd
d
td	��tj	tjtjB�t
t�tjt�tj
�tj
�dS(Niis'iR>iR?iRBiiii
(R5RRR9R:RR@RRRR
R4R.R0R1(((s(/usr/lib64/python2.7/Demo/curses/xmas.pytstrng5�s 



cCsEtj�xtd�D]}|dkrNtjt�tj�tj�Pn�|dkrtjt�tj�tj�Pn�|dkr�tjt�tj�tj�Pnb|dkr�t	jt�tj�tj�Pn1|dkrt
jt�tj�tj�Pntj�qWtjt�tj�tj�dS(Niiiiii(t	treescrn8ttouchwinRt	treescrn3R4R0R1t	treescrn4t	treescrn5t	treescrn6t	treescrn7R.(tcycle((s(/usr/lib64/python2.7/Demo/curses/xmas.pytblinkits@


















cCs2|j||�|j�tj�td�dS(Ni(tmvwinR0R1R(RRR((s(/usr/lib64/python2.7/Demo/curses/xmas.pyt	deer_step7s

cCskd}x�tddd�D]�}|dkr4d}nxltdd�D][}tj||td��tj�tj�tj�tj�tj�td	�qDWqWd
}x�t|dd	d�D]�}x�tdd�D]�}|dkr[d}ytj||td
��Wnt	j
k
r%nXtj�tj�tj�tj�tj�q�tj||td
��tj�tj�tj�tj�tj�q�Wq�Wd}x�td
d�D]�}tj�tj�tj�x�tdd�D]~}t
t||�t
t||�t
t||�t
t||�t
t||�tj�tj�tj�|d
8}q�Wq�Wd}x�tdd�D]�}tj�tj�tj�x�td
�D]~}t
t||�t
t||�t
t||�t
t||�t
t||�tj�tj�tj�|d8}q�Wq�Wtd�d}x�tdd�D]�}t
t||�t
t||�t
t||�t
t||�t
t||�t
t||�t
t||�t
t||�qkW|d8}x�tdd�D]v}t
t||�t
t||�t
t||�t
t||�t
t||�t
t||�t
t||�qWt
t||�x�t|d�D]�}x�tdd
�D]v}t
t||�t
t||�t
t||�t
t||�t
t||�t
t||�t
t||�q�Wt
t||�q�W|d8}t
t||�dS(NiiFi>i����iBiiR?i2ii8iR8i:ii#i
i,iii(Rtdotdeer0RRR0R1teraseRt	stardeer0Rterrortlildeer0RHRQtlildeer3tlildeer2tlildeer1tmiddeer0tmiddeer3tmiddeer2tmiddeer1tbigdeer4tbigdeer3tbigdeer2tbigdeer1tbigdeer0t	lookdeer4t	lookdeer3t	lookdeer2t	lookdeer1t	lookdeer0(ty_postx_postlooper((s(/usr/lib64/python2.7/Demo/curses/xmas.pytreindeer=s�	




























cCs=|atjatjdddd�atjdddd�atjdddd�atjdddd�atjdddd�a	tjdddd�a
tjdddd�atjdddd�atjdddd�a
tjdd	dd�atjd
ddd�atjdddd�atjdddd�atjdddd�atjdd
dd�atjdd
dd�atjdd
dd�atjdd
dd�atjdddd�atjdddd�atjdddd�atjdddd�atjdddd�atjdddd�atjdddd�atjdddd�atjdddd�atjdddd�a tjdddd�a!tjdddd�a"yt"j#ddd�Wntj$k
rnXyt!j#ddd�Wntj$k
r:nXtj%ddt&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��ytj%ddt&d��Wntj$k
r�nXtj%ddt&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��ytj%ddt&d��Wntj$k
rjnXtj%ddt&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��ytj%ddt&d��Wntj$k
rnXtj%ddt&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��tj%dd t&d!��tj%dd"t&d��tj%ddt&d#��tj%dd t&d$��tj%ddt&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��tj%dd t&d!��tj%dd"t&d��tj%ddt&d��tj%dd t&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��tj%ddt&d��tj%dd t&d!��tj%dd"t&d��tj%ddt&d$��tj%dd t&d#��tj%dd%t&d#��tj%dd&t&d$��tj%dd't&d#��tj%ddt&d$��tj%dd&t&d#��tj%ddt&d$��tj%dd't&d��tj%ddt&d(��tj%dd&t&d$��tj%dd't&d)��tj%ddt&d��tj%dd*t&d#��tj%dd%t&d$��tj%dd&t&d$��tj%dd't&d#��tj%dd+t&d#��tj#d d
d,�tj#d"d
d-�tj#d
dd.�tj#dd/d0�tj#d/d1d2�tj%dd%t&d#��tj%dd&t&d$��tj%dd't&d#��tj%ddt&d$��tj%dd&t&d#��tj%ddt&d$��tj%dd't&d��tj%ddt&d(��tj%dd&t&d$��tj%dd't&d)��tj%ddt&d��tj%dd*t&d#��tj%dd%t&d$��tj%dd&t&d$��tj%dd't&d#��tj%dd+t&d#��tj#d d
d,�tj#d"d
d3�tj#d
d
d4�tj#ddd5�tj#d/d/d6�tj%dd%t&d#��tj%dd&t&d$��tj%dd't&d#��tj%ddt&d$��tj%dd&t&d#��tj%ddt&d$��tj%dd't&d��tj%ddt&d(��tj%dd&t&d$��tj%dd't&d)��tj%ddt&d��tj%dd*t&d#��tj%dd%t&d$��tj%dd&t&d$��tj%dd't&d#��tj%dd+t&d#��tj#d d
d,�tj#d"d"d7�tj#d
d"d8�tj#dd d9�tj#d/d d:�tj%dd%t&d#��tj%dd&t&d$��tj%dd't&d#��tj%ddt&d$��tj%dd&t&d#��tj%ddt&d$��tj%dd't&d��tj%ddt&d(��tj%dd&t&d$��tj%dd't&d)��tj%ddt&d��tj%dd*t&d#��tj%dd%t&d$��tj%dd&t&d$��tj%dd't&d#��tj%dd+t&d#��tj#d d
d,�tj#d"d"d;�tj#d
d d<�tj#ddd=�tj#ddd>�tj#dd%d?�tj#dd'd@�tj#dd%dA�tj#dd%dB�tj#d d
dC�tj#d"d
d-�tj#d
dd.�tj#dd/d0�tj#d/d1d2�tj#ddd>�tj#dd%d?�tj#dd'd@�tj#dd%dA�tj#dd%dB�tj#d d
dC�tj#d"d
d3�tj#d
d
d4�tj#ddd5�tj#d/d/d6�tj#ddd>�tj#dd%d?�tj#dd'd@�tj#dd%dA�tj#dd%dB�tj#d d
dC�tj#d"d"d7�tj#d
d"d8�tj#dd d9�tj#d/d d:�t j#ddd>�t j#dd%d?�t j#dd'd@�t j#dd%dA�t j#dd%dB�t j#d d
dC�t j#d"d"d;�t j#d
d d<�t j#ddd=�tj'�tj(d�x�tj)�tj*�t"j+�tj+�tj*�tj+�tj*�tj+�tj,�t-dD�t.�tj,�t-dD�t/�tj,�t0�tj,�t-dD�t1�tj,�t-dD�t2�t-dD�t3�t-dD�t4�t-dD�t5�t6�t7�t8�t9�tj:t�tj%dd&t&dE��tj%d
d"t&dE��tj%dd't&dE��tj%d1d+t&dE��tj%ddFt&dG��tj%dd1t&dE��tj%d dHt&dE��tj%d"dt&dE��tj%d
dt&dE��tj%d
dIt&dE��tj%ddHt&dE��tj%ddt&dE��tj%d1dt&dE��tj%d1d&t&dE��tj%dFdHt&dE��tj:t�tj%dd/t&dE��tj%ddt&dE��tj%d
d"t&dE��tj%dd't&dE��tj%d1dt&dE��tj%dFdt&dE��tj;�tj%ddFt&dG��tj<�tj%ddHt&dE��tj%d
dt&dE��tj%dd1t&dE��tj%d/dt&dE��tj%ddFt&dE��tj%d1dt&dE��tj%d1d&t&dE��tj%dFdIt&dE��tj:t	�t	j%ddt&dE��t	j%ddt&dE��t	j%dFdt&dE��t	j%ddFt&dE��t	j%dd1t&dE��t	j%d dFt&dE��t	j%d
dIt&dE��t	j%ddt&dE��t	j%d/dt&dE��t	j%dd1t&dE��t	j%d1d
t&dE��t	j%d1d%t&dE��t	j%dFdHt&dE��tj:t
�t
j%d"d
t&dE��t
j%d
d&t&dE��t
j%ddt&dE��t
j%d1dt&dE��t
j;�t
j%ddFt&dG��t
j<�t
j%d d1t&dE��t
j%d
dHt&dE��t
j%dd/t&dE��t
j%d/dIt&dE��t
j%ddt&dE��t
j%d1d"t&dE��t
j%d1dt&dE��t
j%dFdFt&dE��tj:t�tj%ddt&dE��tj%d"d
t&dE��tj%d
d&t&dE��tj%ddt&dE��tj%d1d+t&dE��tj%ddFt&dG��tj%ddFt&dE��tj%d dHt&dE��tj%d"d/t&dE��tj%d
dt&dE��tj%dd1t&dE��tj%d/dt&dE��tj%ddFt&dE��tj%d1dt&dE��tj%d1d&t&dE��tj%dFdIt&dE��t-dD�t=�t!j+�t!j,�t"j,�t-dJ�xt>dd�D]
}t?�q$WqNWdS(KNiiii5iGiiii8iiii*i
iiiii<sHit any key to quitsH A P P Y  H O L I D A Y StVR3t<t>t~RRt0t(t=it)is\R-iiiRt^iis^~~~~~~~~//  ~~Us( \_____( /s( )    /i	s\\   /is\>/>s(( )____( /s( /    |s\/    |s|>   |>s( ()_____( /s/ /       /s
|/          \s/>           \>s( )______( /s
(/          \sv___=             ----^s	\/     \/s\Y/ \Y/s\=/s^\o o/^s//( )s^~~~~~~~~// \O/i�t iR8i
ii�(@RRtCOLOR_BLACKRtnewwinR.R5RIRJRKRLRMRGRRRTRVRYRXRWRZR]R\R[RbRaR`R_R^RgRfReRdRct	w_holidayR1R*RURRtcbreaktnodelaytclearRSRHR0RRR$R)R,R2R7R=RARCRDRERFR4tstandoutR<RkRRO(Rti((s(/usr/lib64/python2.7/Demo/curses/xmas.pytmain�s�	



































(RRR+RR
RRR$R)R,R2R7R=RARCRDRERFRORQRkR~twrapper(((s(/usr/lib64/python2.7/Demo/curses/xmas.pyt<module>s.						
		,								'		z	��

Zerion Mini Shell 1.0