404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@52.15.157.192: ~ $
�
Afc@s0ddlZddlZddlTddlmZddlmZddlmZddl	Z	ddl
Z
ej�Zdej
e�kr�dGHdGeGHej�nd	Zd
ZdZdZd
ZddefZdZd Zd�Zd!d"d#fZdefd��YZd�Zedkr,e�ndS($i����N(t*(t
Percolator(tColorDelegator(t	view_files
turtleDemo.pys:Directory of turtleDemo must be current working directory!sBut in your case this isiiiiitArialitboldsLucida ConsoleitnormalcCs�gtjt�D]+}|jd�r|jd�r|^q}g}x�|D]�}|jd�rs|j|�qNtjjt|�}tjj|�|g}gtj|�D]*}|jd�r�|jd�r�|^q�}|j||�qNW|S(Nttdemo_s.pycs.py(	tostlistdirtdemo_dirt
startswithtendswithtappendtpathtjointsys(tentrytentries1tentries2Rtsubdirtscripttscripts((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pytgetExampleEntriess
	sTurtledemo helpsdemohelp.txtsAbout turtledemosabout_turtledemo.txtsAbout turtle modulesabout_turtle.txtt
DemoWindowcBs�eZdd�Zd�Zd�Zd�Zddd�Zd�Zd�Z	d	�Z
d
�Zd�Zd�Z
d
�Zd�ZRS(cCst�|_}t_|jd�|jd|j�|jddd�|jddd�|jddddd�|jddddd�|jd	dddd�t	|d
t
dd�|_|j�|_
|j�|_|jjddd
ddd�tdtdddtdd�}|j|j|��|j|j|��|jddd
ddd�t|dddddddd,ddd
t�|_t|dddtd d!d"d#d$|j�|_t|dd%dtd d!d"d#d$|j�|_t|dd&dtd d!d"d#d$|j �|_!|jjddd'dddd(d-�|jjddd'ddd)�|jjddd'ddd)�|j!jddd'd	dd)�t"|j#�j$t%��t&|_'t&|_(|r�|j)|�n|j*t+t,t,t,d*d+�t-|_.dS(.NsPython turtle-graphics examplestWM_DELETE_WINDOWitweightitminsizeiZiitrelieftborderwidthtrowt
columnspanitstickytnewstorientt	sashwidthit
sashrelieftbgs#dddtheightttexts --- s#ddftfontRiRs START tfgtwhitetdisabledforegrounds#fedtcommands STOP s CLEAR tcolumntpadxtewsChoose example from menutblack(RiR(ii(/tTktroottturtlet_rootttitletwm_protocolt_destroytgrid_rowconfiguretgrid_columnconfiguretFrametRAISEDtmBartmakeLoadDemoMenutExamplesBtntmakeHelpMenut
OptionsBtntgridtPanedWindowt
HORIZONTALtSOLIDtaddt
makeTextFrametmakeGraphFrametLabeltRIDGEt
output_lbltButtontbtnfontt	startDemot	start_btntstopIttstop_btntclearCanvast	clear_btnRR'tinsertfilterRtFalsetdirtytexitflagtloadfilet	configGUItNORMALtDISABLEDtSTARTUPtstate(tselftfilenameR2tpane((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyt__init__7sR
%		
cCsf|jj�}|jj�}|jjd|j||j�|jjd|j||j�dS(Ng�?(t_canvastwinfo_widthtwinfo_heighttxview_movetot	canvwidthtyview_movetot
canvheight(R]teventtcwidthtcheight((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pytonResizehs"c
Cst|�|_}t|dddddddd�|_}t|dd	�|_}|j|d
<|jdtdt	�t|dd
dt
�|_}|j|d
<|jdt
dt�t|d<|j|d<|j|d<|jdtdtdd�|S(NtnameR'R.itwraptnonetwidthi-tvbarR,tsidetfillthbarR"R(tyscrollcommandtxscrollcommandtexpandi(R:t
text_frametTextR't	ScrollbarRptyviewtpacktLEFTtYRCRstxviewtBOTTOMtXttxtfonttsettBOTH(R]R2RwR'RpRs((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyRFns




cCs�|tj_d|_d|_tj|dd|j|j�tj_|_}|j�|jj	d|j
�d|jd<tj�|_}tj
j||j�|j|_|gtj_|S(Ni�i iXs<Configure>iR(R3t_ScreenR4ReRgtScrolledCanvasRat
adjustScrollst_rootwindowtbindRktScreentscreentTurtleScreenR`tscanvast	RawTurtletscreens(R]R2tcanvast_s_((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyRG�s		,

ttbluecCs�|jjd|�|jjd|d|tkr7dnd�|jjd|d|tkrbdnd�|jjd|d|tkr�dnd�|jjd|d|�dS(NR\R%s#d00s#fcaR'R)(R>tconfigRNRYRPRRRJ(R]tmenutstarttstoptclearttxttcolor((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyRX�scsft�jdddddt�}|jdtdd�t|�|_xt�D]}�fd	�}t|t	�r�|jj
d
|dd!dddtd
||��qP|d|d}}t|j�|j_xR|D]J}|jjj
d
|dd!dddtd
|tj
j||���q�W|jjd
|dd|jjdt�qPW|j|d<|S(NR'tExamplest	underlineiR(RqR.t2mcs��fd�}|S(Ncs�j��dS(N(RW((R]tx(s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pytemit�s((R�R�(R](R�s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pytloadexample�stlabelii����R,iR�(t
MenubuttonR<tmenufontR{R|tMenuR�Rt
isinstancetstrtadd_commandtchoicesRRRtadd_cascade(R]tCmdBtnRR�t_dirtentrieste((R]s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyR=�s(
 !
cs�t�jdddddt�}|jdtdd�t|�|_xHtD]@\}}||�fd	�}|jjd
|dtd|�qMW|j|d<|S(
NR'tHelpR�iR(RqR.R�cs&t�j|tjjt|��dS(N(RR2RRRR
(t
help_labelt	help_file(R](s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pytshow�sR�R,R�(	R�R<R�R{R|R�R�thelp_entriesR�(R]R�R�R�R�((R]s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyR?�s!#
cCs'|js
dS|jj�t|_dS(N(RUR�R�RT(R]((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyt
refreshCanvas�s	
cCs�|j�tjj|�r�tjj|�r�t|d�}|j�}|j�|jj	dd�|jj
d|�tjj|�\}}|jj
|dd!d�t|d �|_|jttttdd�t|_ndS(	Ntrs1.0tendii����s# - a Python turtle graphics examplesPress start buttontred(R�RRtexiststisdirtopentreadtcloseR'tdeletetinserttsplitR2R5t
__import__tmoduleRXRYRZtREADYR\(R]R^tftcharstdirectfname((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyRW�s
%

cCs4|j�t|_ttj_|jttttdd�|j	j
�|j	jd�t|_
y4|jj�}|dkr�t|_
n	t|_
Wn6tjk
r�|jdkr�dSt|_
d}nX|j
tkr�|jtttt|�n7|j
tkr0t|_|jttttdd�ndS(Nsdemo running...R0tstandardt	EVENTLOOPsstopped!suse mouse/keys or STOPR�(R�tTrueRUR3R�t_RUNNINGRXRZRYR�R�tmodetRUNNINGR\R�tmaintEVENTDRIVENtDONEt
TerminatorR2tNoneRV(R]tresult((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyRM�s2
	

	
	

	cCs7|j�|jjdd�|jtttt�dS(NtcursorR�(R�R�R�RXRYRZ(R]((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyRQ�s
cCsW|jrG|j�t|_|jttttdd�ttj_nttj_dS(NsSTOPPED!R�(	RVRQRTRXRYRZR3R�R�(R]((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyRO�s	
	
cCs&ttj_|jj�d|_dS(N(RTR3R�R�R2tdestroyR�(R]((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyR7s
N(t__name__t
__module__R�R`RkRFRGRXR=R?R�RWRMRQROR7(((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyR5s1					
					
cCst�}|jj�dS(N(RR2tmainloop(tdemo((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyR�s	t__main__(RiR(sLucida ConsoleiR(sTurtledemo helpsdemohelp.txt(sAbout turtledemosabout_turtledemo.txt(sAbout turtle modulesabout_turtle.txt(RRtTkintertidlelib.PercolatorRtidlelib.ColorDelegatorRtidlelib.textViewRR3ttimetgetcwdR
R	texitR[R�R�R�R�RYR�RLR�RR�tobjectRR�R�(((s./usr/lib64/python2.7/Demo/turtle/turtleDemo.pyt<module>s8
	
		�	

Filemanager

Name Type Size Permission Actions
about_turtle.txt File 3.44 KB 0644
about_turtledemo.txt File 302 B 0644
demohelp.txt File 2.96 KB 0644
tdemo_I_dontlike_tiltdemo.py File 1.05 KB 0755
tdemo_I_dontlike_tiltdemo.pyc File 1.62 KB 0644
tdemo_I_dontlike_tiltdemo.pyo File 1.62 KB 0644
tdemo_bytedesign.py File 4.12 KB 0755
tdemo_bytedesign.pyc File 5.19 KB 0644
tdemo_bytedesign.pyo File 5.19 KB 0644
tdemo_chaos.py File 951 B 0644
tdemo_chaos.pyc File 2.24 KB 0644
tdemo_chaos.pyo File 2.24 KB 0644
tdemo_clock.py File 3.14 KB 0755
tdemo_clock.pyc File 4.43 KB 0644
tdemo_clock.pyo File 4.43 KB 0644
tdemo_colormixer.py File 1.31 KB 0644
tdemo_colormixer.pyc File 2.31 KB 0644
tdemo_colormixer.pyo File 2.31 KB 0644
tdemo_fractalcurves.py File 3.33 KB 0755
tdemo_fractalcurves.pyc File 3.44 KB 0644
tdemo_fractalcurves.pyo File 3.44 KB 0644
tdemo_lindenmayer_indian.py File 2.38 KB 0755
tdemo_lindenmayer_indian.pyc File 3.52 KB 0644
tdemo_lindenmayer_indian.pyo File 3.52 KB 0644
tdemo_minimal_hanoi.py File 2 KB 0755
tdemo_minimal_hanoi.pyc File 3.54 KB 0644
tdemo_minimal_hanoi.pyo File 3.54 KB 0644
tdemo_nim.py File 6.36 KB 0644
tdemo_nim.pyc File 9.16 KB 0644
tdemo_nim.pyo File 9.16 KB 0644
tdemo_paint.py File 1.26 KB 0755
tdemo_paint.pyc File 1.86 KB 0644
tdemo_paint.pyo File 1.86 KB 0644
tdemo_peace.py File 1.04 KB 0755
tdemo_peace.pyc File 1.36 KB 0644
tdemo_peace.pyo File 1.36 KB 0644
tdemo_penrose.py File 3.45 KB 0755
tdemo_penrose.pyc File 5.86 KB 0644
tdemo_penrose.pyo File 5.86 KB 0644
tdemo_planet_and_moon.py File 2.76 KB 0755
tdemo_planet_and_moon.pyc File 4.43 KB 0644
tdemo_planet_and_moon.pyo File 4.43 KB 0644
tdemo_tree.py File 1.38 KB 0755
tdemo_tree.pyc File 2.07 KB 0644
tdemo_tree.pyo File 2.07 KB 0644
tdemo_two_canvases.py File 1.09 KB 0644
tdemo_two_canvases.pyc File 1.6 KB 0644
tdemo_two_canvases.pyo File 1.6 KB 0644
tdemo_wikipedia.py File 1.32 KB 0644
tdemo_wikipedia.pyc File 1.91 KB 0644
tdemo_wikipedia.pyo File 1.91 KB 0644
tdemo_yinyang.py File 807 B 0755
tdemo_yinyang.pyc File 1.29 KB 0644
tdemo_yinyang.pyo File 1.29 KB 0644
turtle.cfg File 160 B 0644
turtleDemo.py File 9.85 KB 0755
turtleDemo.pyc File 10.69 KB 0644
turtleDemo.pyo File 10.69 KB 0644