ok

Mini Shell

Direktori : /usr/lib64/python2.7/Demo/tkinter/guido/
Upload File :
Current File : //usr/lib64/python2.7/Demo/tkinter/guido/electrons.pyo

�
V
�Qc@sLddlTddlZddd��YZd�ZedkrHe�ndS(i����(t*Nt	ElectronscBs&eZdd�Zd�Zd�ZRS(c
Cs||_t�|_}t|�|_}|j�|j|d�|j|d�}}|r�|j|d|dd|dd�|_ng|_	d
\}}}	}
xWt
|�D]I}|j|||	|
dd�}|j	j|�|d|
d}}
q�W|jj
�dS(Ntwidththeightitbitmapt
foregroundtbluei
iFiiJtfilltred(i
iFiiJ(tntTkttktCanvastcanvastpacktgetintt
create_bitmapRtpiecestrangetcreate_ovaltappendtupdate(
tselfR	RRtcRRtx1ty1tx2ty2titp((s4/usr/lib64/python2.7/Demo/tkinter/guido/electrons.pyt__init__s 	
'	cCsq|j}xT|jD]I}tjtdd��}tjtdd��}|j|||�qW|jj�dS(Ni����ii����(R
RtrandomtchoiceRtmoveRR(RR	RRtxty((s4/usr/lib64/python2.7/Demo/tkinter/guido/electrons.pytrandom_move+s	cCshy+x$td�D]}|j|j�qWWn6tk
rcy|jj�Wqdtk
r_qdXnXdS(Ni�(RR$R	tTclErrorRtdestroy(RR((s4/usr/lib64/python2.7/Demo/tkinter/guido/electrons.pytrun4s

N(t__name__t
__module__tNoneRR$R'(((s4/usr/lib64/python2.7/Demo/tkinter/guido/electrons.pyRs		cCs�ddl}ddl}|jdr>|j|jd�}nd}|jdr�|jd}|ddkr{|d}q�d|}nd}t||�}|j�dS(Ni����iiiit@(tsyststringtargvtatoiR*RR'(R,R-R	Rth((s4/usr/lib64/python2.7/Demo/tkinter/guido/electrons.pytmain@s




t__main__((tTkinterRRR1R((((s4/usr/lib64/python2.7/Demo/tkinter/guido/electrons.pyt<module>s

-	

Zerion Mini Shell 1.0