__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.7: ~ $
3

��2a=,�@s�ddlmZddlmZmZmZmZddlmZddl	m
Z
mZmZm
Z
ddlmZmZddl	mZddlmZGdd	�d	e�ZGd
d�de�ZGdd
�d
e�ZGdd�de
�Zdd�Zdd�Zedkr�ddlmZedddd�ddlmZee�dS)�)�
HTMLParser)�abspath�dirname�isfile�join)�python_version)�Toplevel�Frame�Text�Menu)�
Menubutton�	Scrollbar)�font)�idleConfc@s6eZdZdd�Zd
dd�Zdd�Zdd	�Zd
d�ZdS)�
HelpParsercCsZtj|dd�||_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_g|_d|_
dS)NT)Zconvert_charrefs�Fr)r�__init__�text�tags�chartags�show�hdrlink�level�pre�hprefix�	nested_dl�
simplelist�toc�header)�selfr�r �)/opt/alt/python36/lib64/python3.6/help.pyr3szHelpParser.__init__�cCs0|j|7_|jdkrdndt|j�|_dS)Nrr�l)r�strr)r�amtr r r!�indentBszHelpParser.indentcCsd}x|D]\}}|dkr
|}q
Wd}|dkr@|dkr@d|_�n�|dkrZ|dkrZd|_�n�|dkrr|d	krrd
}�nv|dkr�|dkr�d|_�n\|dkr�|d
kr�d|_�nB|dkr�d|_�n0|d"kr�|jd�d#kr�d}d|_nd|_|j��n�|dk�r
|jdk�r�d|_n�|dk�r&|j�r dnd}n�|dk�rH|j�s<d
nd}d|_n�|dk�r`|j�d}n�|dk�r�d|_|j�r�|jj	dd
�d|_
nZ|dk�r�|dk�r�d|_n>|dk�r�||_
n,|d$k�r�|j�r�d|_|jj	dd
�||_
|j�r|jj	d||j
|jf�dS)%Nr�classZdiv�sectionTZ
sphinxsidebarF�p�firstz

�spanrZversionmodified�em�ul�olZsimpler"�
ZdlrZliz
* z

* Zdt�dd�end�preblock�aZ
headerlink�h1�h2�h3)r-r.���)r5r6)
rr�findrr&rrrr�insertrrr)r�tagZattrs�class_r3�v�sr r r!�handle_starttagFsd











zHelpParser.handle_starttagcCs�|dkrT|jd�|jr�|dkr$dn|dkr0dnd}|jj||j|jjd�f�nJ|dkrdd|_n:|dkrtd|_n*|d
kr�d|_	d|_
n|dkr�|jdd�dS)Nr4r5r6rz        z    rr9r+r,r3Frr-r0r.r")r%)r4r5r6)r+r,)r-r0r.r7)r&rr�appendrr�indexrrrr)rr:r&r r r!�
handle_endtag|s 
 zHelpParser.handle_endtagc
Cs�|jr�|jr�|jr|n
|jdd�}|jdkrby|d|jd��|_Wntk
r`d|_YnX|jd	kr�|jdkr�|dt|j��|jkr�|t|j�d�}|j	|j
�7_	|jjd||j|j
f�dS)
Nr/� r4rrr5r6r1)r4r5r6)rrr�replacerr@r�
ValueError�lenr�striprr9r)r�data�dr r r!�handle_data�s


zHelpParser.handle_dataN)r")�__name__�
__module__�__qualname__rr&r>rArIr r r r!r*s
	
6rc@seZdZdd�Zdd�ZdS)�HelpTextc	
Csvtjddddd�}tjddddd�}d|d}tj||d	d
dd
||d�|jd
ddg�}|jdddg�}|df|d<|jd|ddfd�|jd|ddfd�|jd|ddfd�|jd|ddfd�|jd|dfd d!�|jd"|d#fd$d%d&d'd(�|jd)d$d$d*�|jd+d,d,d*�|jd-d.d.d*�|jd/d0d0d*�t|�|_t|d1d2��}|j	�}WdQRX|jj
|�d3|d4<dS)5N�mainZEditorWindow�width�int)�type�height��Zwordr�)�wrapZhighlightthicknessZpadx�borderwidthrOrRZ
TkDefaultFontZarialZ	helveticaZTkFixedFontZmonacoZcourier�rr,Zitalic)rr4�Zboldr5�r6�rz#f6f6ff)r�
backgroundr2�
�r"Zsolidz#eeffcc)r�lmargin1rWZreliefr\�l1)r_Zlmargin2�l2�2�l3�K�l4�dzutf-8)�encodingZdisabled�state)rZ	GetOptionr
r�findfontZ
tag_configurer�parser�open�readZfeed)	r�parent�filenameZuwideZuhighZ
normalfontZ	fixedfont�f�contentsr r r!r�s0
zHelpText.__init__cCsnxh|D]`}|j�dd�tj|d�D�krDtj|d|d�}|j�dS|j�dd�tj|d�D�kr|SqWdS)Ncss|]}|j�VqdS)N)�lower)�.0�xr r r!�	<genexpr>�sz$HelpText.findfont.<locals>.<genexpr>)�rootT)�name�existsruZfamilycss|]}|j�VqdS)N)rq)rrrsr r r!rt�s)rq�tkfont�namesZFont�actualZfamilies)rryrvrr r r!ri�s
zHelpText.findfontN)rJrKrLrrir r r r!rM�srMc@seZdZdd�Zdd�ZdS)�	HelpFramecCs�tj||�t||�|_}|d|d<|j|�|_}t||jd�|_}|j	|d<|j
ddd�|jddd�|jdddd�|jddd	d�|jdd
dd�dS)Nr\)�commandZyscrollcommandrr")�weightZnw)�row�column�sticky�nsew��ns)
r	rrMr�toc_menurr
�yview�scroll�setZrowconfigureZcolumnconfigure�grid)rrmrnrrr�r r r!r�s
zHelpFrame.__init__csTt|dd�}t|dd�}x.�jjD]"\}}|j||f�fdd�	d�q"W||d<|S)	NZTOC)rF)Ztearoffcs
�j|�S)N)r�)�dex)rr r!�<lambda>�sz$HelpFrame.toc_menu.<locals>.<lambda>)Zlabelr|Zmenu)rrrjrZadd_command)rrrZdropZlblr�r )rr!r��szHelpFrame.toc_menuN)rJrKrLrr�r r r r!r{�sr{c@seZdZdd�ZdS)�
HelpWindowcCsZtj||�|j|�|jd|j�t||�jdddd�|jddd�|jddd�dS)NZWM_DELETE_WINDOWrr�)rr~r�r")r})	rrZwm_titleZprotocolZdestroyr{r�Zgrid_columnconfigureZgrid_rowconfigure)rrmrn�titler r r!r�s
zHelpWindow.__init__N)rJrKrLrr r r r!r��sr�cCs�tttttt����ddddd�}tttt��d�}t|d��<}t|d��&}x|D]}|j|j�d	�qRWWdQRXWdQRXt|�d
|���dS)NZDocZbuildZhtmlZlibraryz	idle.htmlz	help.html�rb�wb�
z copied to )rrr�__file__rk�write�rstrip�print)�src�dstZinn�out�liner r r!�
copy_strip�s
*r�cCs4tttt��d�}t|�sdSt||dt��dS)Nz	help.htmlzIDLE Help (%s))rrrr�rr�r)rmrnr r r!�
show_idlehelpsr��__main__)rNzidlelib.idle_test.test_helpr�F)�	verbosity�exit)�runN) Zhtml.parserrZos.pathrrrr�platformrZtkinterrr	r
rZtkinter.ttkrr
rrxZidlelib.configrrrMr{r�r�r�rJZunittestrNZidlelib.idle_test.htestr�r r r r!�<module>s"v* 

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 509 B 0644
__init__.cpython-36.opt-2.pyc File 139 B 0644
__init__.cpython-36.pyc File 509 B 0644
__main__.cpython-36.opt-1.pyc File 270 B 0644
__main__.cpython-36.opt-2.pyc File 191 B 0644
__main__.cpython-36.pyc File 270 B 0644
_pyclbr.cpython-36.opt-1.pyc File 10.18 KB 0644
_pyclbr.cpython-36.opt-2.pyc File 6.65 KB 0644
_pyclbr.cpython-36.pyc File 10.18 KB 0644
autocomplete.cpython-36.opt-1.pyc File 7.02 KB 0644
autocomplete.cpython-36.opt-2.pyc File 5.43 KB 0644
autocomplete.cpython-36.pyc File 7.02 KB 0644
autocomplete_w.cpython-36.opt-1.pyc File 10.81 KB 0644
autocomplete_w.cpython-36.opt-2.pyc File 10.07 KB 0644
autocomplete_w.cpython-36.pyc File 10.85 KB 0644
autoexpand.cpython-36.opt-1.pyc File 2.76 KB 0644
autoexpand.cpython-36.opt-2.pyc File 2.02 KB 0644
autoexpand.cpython-36.pyc File 2.76 KB 0644
browser.cpython-36.opt-1.pyc File 9.35 KB 0644
browser.cpython-36.opt-2.pyc File 6.82 KB 0644
browser.cpython-36.pyc File 9.35 KB 0644
calltip.cpython-36.opt-1.pyc File 5.48 KB 0644
calltip.cpython-36.opt-2.pyc File 3.89 KB 0644
calltip.cpython-36.pyc File 5.48 KB 0644
calltip_w.cpython-36.opt-1.pyc File 6.02 KB 0644
calltip_w.cpython-36.opt-2.pyc File 5.1 KB 0644
calltip_w.cpython-36.pyc File 6.02 KB 0644
codecontext.cpython-36.opt-1.pyc File 7.96 KB 0644
codecontext.cpython-36.opt-2.pyc File 5.04 KB 0644
codecontext.cpython-36.pyc File 7.99 KB 0644
colorizer.cpython-36.opt-1.pyc File 8.17 KB 0644
colorizer.cpython-36.opt-2.pyc File 8 KB 0644
colorizer.cpython-36.pyc File 8.17 KB 0644
config.cpython-36.opt-1.pyc File 29.79 KB 0644
config.cpython-36.opt-2.pyc File 19.85 KB 0644
config.cpython-36.pyc File 29.79 KB 0644
config_key.cpython-36.opt-1.pyc File 13.52 KB 0644
config_key.cpython-36.opt-2.pyc File 12.47 KB 0644
config_key.cpython-36.pyc File 13.52 KB 0644
configdialog.cpython-36.opt-1.pyc File 75.72 KB 0644
configdialog.cpython-36.opt-2.pyc File 46.64 KB 0644
configdialog.cpython-36.pyc File 75.72 KB 0644
debugger.cpython-36.opt-1.pyc File 13.89 KB 0644
debugger.cpython-36.opt-2.pyc File 13.73 KB 0644
debugger.cpython-36.pyc File 13.89 KB 0644
debugger_r.cpython-36.opt-1.pyc File 13.44 KB 0644
debugger_r.cpython-36.opt-2.pyc File 11.1 KB 0644
debugger_r.cpython-36.pyc File 13.57 KB 0644
debugobj.cpython-36.opt-1.pyc File 5.05 KB 0644
debugobj.cpython-36.opt-2.pyc File 5.04 KB 0644
debugobj.cpython-36.pyc File 5.05 KB 0644
debugobj_r.cpython-36.opt-1.pyc File 1.96 KB 0644
debugobj_r.cpython-36.opt-2.pyc File 1.95 KB 0644
debugobj_r.cpython-36.pyc File 1.96 KB 0644
delegator.cpython-36.opt-1.pyc File 1.25 KB 0644
delegator.cpython-36.opt-2.pyc File 1.14 KB 0644
delegator.cpython-36.pyc File 1.25 KB 0644
dynoption.cpython-36.opt-1.pyc File 2.23 KB 0644
dynoption.cpython-36.opt-2.pyc File 1.85 KB 0644
dynoption.cpython-36.pyc File 2.23 KB 0644
editor.cpython-36.opt-1.pyc File 47.29 KB 0644
editor.cpython-36.opt-2.pyc File 45.67 KB 0644
editor.cpython-36.pyc File 47.37 KB 0644
filelist.cpython-36.opt-1.pyc File 3.29 KB 0644
filelist.cpython-36.opt-2.pyc File 3.25 KB 0644
filelist.cpython-36.pyc File 3.32 KB 0644
grep.cpython-36.opt-1.pyc File 6.59 KB 0644
grep.cpython-36.opt-2.pyc File 4.79 KB 0644
grep.cpython-36.pyc File 6.59 KB 0644
help.cpython-36.opt-1.pyc File 10.05 KB 0644
help.cpython-36.opt-2.pyc File 7.37 KB 0644
help.cpython-36.pyc File 10.05 KB 0644
help_about.cpython-36.opt-1.pyc File 7.25 KB 0644
help_about.cpython-36.opt-2.pyc File 6.15 KB 0644
help_about.cpython-36.pyc File 7.25 KB 0644
history.cpython-36.opt-1.pyc File 3.32 KB 0644
history.cpython-36.opt-2.pyc File 2.11 KB 0644
history.cpython-36.pyc File 3.32 KB 0644
hyperparser.cpython-36.opt-1.pyc File 6.62 KB 0644
hyperparser.cpython-36.opt-2.pyc File 5.33 KB 0644
hyperparser.cpython-36.pyc File 6.62 KB 0644
idle.cpython-36.opt-1.pyc File 335 B 0644
idle.cpython-36.opt-2.pyc File 327 B 0644
idle.cpython-36.pyc File 335 B 0644
iomenu.cpython-36.opt-1.pyc File 13.45 KB 0644
iomenu.cpython-36.opt-2.pyc File 13.03 KB 0644
iomenu.cpython-36.pyc File 13.45 KB 0644
macosx.cpython-36.opt-1.pyc File 7.43 KB 0644
macosx.cpython-36.opt-2.pyc File 5.29 KB 0644
macosx.cpython-36.pyc File 7.43 KB 0644
mainmenu.cpython-36.opt-1.pyc File 3.72 KB 0644
mainmenu.cpython-36.opt-2.pyc File 3.25 KB 0644
mainmenu.cpython-36.pyc File 3.72 KB 0644
multicall.cpython-36.opt-1.pyc File 14.94 KB 0644
multicall.cpython-36.opt-2.pyc File 12.63 KB 0644
multicall.cpython-36.pyc File 15 KB 0644
outwin.cpython-36.opt-1.pyc File 5.98 KB 0644
outwin.cpython-36.opt-2.pyc File 4.32 KB 0644
outwin.cpython-36.pyc File 5.98 KB 0644
paragraph.cpython-36.opt-1.pyc File 5.8 KB 0644
paragraph.cpython-36.opt-2.pyc File 3.95 KB 0644
paragraph.cpython-36.pyc File 5.8 KB 0644
parenmatch.cpython-36.opt-1.pyc File 6.23 KB 0644
parenmatch.cpython-36.opt-2.pyc File 4.71 KB 0644
parenmatch.cpython-36.pyc File 6.23 KB 0644
pathbrowser.cpython-36.opt-1.pyc File 3.66 KB 0644
pathbrowser.cpython-36.opt-2.pyc File 3.51 KB 0644
pathbrowser.cpython-36.pyc File 3.66 KB 0644
percolator.cpython-36.opt-1.pyc File 3.43 KB 0644
percolator.cpython-36.opt-2.pyc File 3.42 KB 0644
percolator.cpython-36.pyc File 3.56 KB 0644
pyparse.cpython-36.opt-1.pyc File 11.4 KB 0644
pyparse.cpython-36.opt-2.pyc File 7.9 KB 0644
pyparse.cpython-36.pyc File 11.75 KB 0644
pyshell.cpython-36.opt-1.pyc File 41.73 KB 0644
pyshell.cpython-36.opt-2.pyc File 39.24 KB 0644
pyshell.cpython-36.pyc File 41.85 KB 0644
query.cpython-36.opt-1.pyc File 10.19 KB 0644
query.cpython-36.opt-2.pyc File 8.11 KB 0644
query.cpython-36.pyc File 10.19 KB 0644
redirector.cpython-36.opt-1.pyc File 6.6 KB 0644
redirector.cpython-36.opt-2.pyc File 3.24 KB 0644
redirector.cpython-36.pyc File 6.6 KB 0644
replace.cpython-36.opt-1.pyc File 6.92 KB 0644
replace.cpython-36.opt-2.pyc File 6.27 KB 0644
replace.cpython-36.pyc File 6.92 KB 0644
rpc.cpython-36.opt-1.pyc File 19.1 KB 0644
rpc.cpython-36.opt-2.pyc File 15.63 KB 0644
rpc.cpython-36.pyc File 19.18 KB 0644
rstrip.cpython-36.opt-1.pyc File 1.05 KB 0644
rstrip.cpython-36.opt-2.pyc File 990 B 0644
rstrip.cpython-36.pyc File 1.05 KB 0644
run.cpython-36.opt-1.pyc File 14.99 KB 0644
run.cpython-36.opt-2.pyc File 13 KB 0644
run.cpython-36.pyc File 15.03 KB 0644
runscript.cpython-36.opt-1.pyc File 6.33 KB 0644
runscript.cpython-36.opt-2.pyc File 5.15 KB 0644
runscript.cpython-36.pyc File 6.33 KB 0644
scrolledlist.cpython-36.opt-1.pyc File 5.26 KB 0644
scrolledlist.cpython-36.opt-2.pyc File 5.25 KB 0644
scrolledlist.cpython-36.pyc File 5.26 KB 0644
search.cpython-36.opt-1.pyc File 3.46 KB 0644
search.cpython-36.opt-2.pyc File 3.2 KB 0644
search.cpython-36.pyc File 3.46 KB 0644
searchbase.cpython-36.opt-1.pyc File 7.79 KB 0644
searchbase.cpython-36.opt-2.pyc File 5.09 KB 0644
searchbase.cpython-36.pyc File 7.79 KB 0644
searchengine.cpython-36.opt-1.pyc File 6.68 KB 0644
searchengine.cpython-36.opt-2.pyc File 5.06 KB 0644
searchengine.cpython-36.pyc File 6.68 KB 0644
squeezer.cpython-36.opt-1.pyc File 9.67 KB 0644
squeezer.cpython-36.opt-2.pyc File 6.56 KB 0644
squeezer.cpython-36.pyc File 9.71 KB 0644
stackviewer.cpython-36.opt-1.pyc File 4.94 KB 0644
stackviewer.cpython-36.opt-2.pyc File 4.93 KB 0644
stackviewer.cpython-36.pyc File 4.94 KB 0644
statusbar.cpython-36.opt-1.pyc File 1.9 KB 0644
statusbar.cpython-36.opt-2.pyc File 1.89 KB 0644
statusbar.cpython-36.pyc File 1.9 KB 0644
textview.cpython-36.opt-1.pyc File 6.29 KB 0644
textview.cpython-36.opt-2.pyc File 4.74 KB 0644
textview.cpython-36.pyc File 6.29 KB 0644
tooltip.cpython-36.opt-1.pyc File 6.41 KB 0644
tooltip.cpython-36.opt-2.pyc File 4.82 KB 0644
tooltip.cpython-36.pyc File 6.41 KB 0644
tree.cpython-36.opt-1.pyc File 13.94 KB 0644
tree.cpython-36.opt-2.pyc File 13.18 KB 0644
tree.cpython-36.pyc File 13.94 KB 0644
undo.cpython-36.opt-1.pyc File 10.53 KB 0644
undo.cpython-36.opt-2.pyc File 10.52 KB 0644
undo.cpython-36.pyc File 10.53 KB 0644
window.cpython-36.opt-1.pyc File 3.08 KB 0644
window.cpython-36.opt-2.pyc File 3.07 KB 0644
window.cpython-36.pyc File 3.08 KB 0644
zoomheight.cpython-36.opt-1.pyc File 1.37 KB 0644
zoomheight.cpython-36.opt-2.pyc File 1.31 KB 0644
zoomheight.cpython-36.pyc File 1.37 KB 0644
zzdummy.cpython-36.opt-1.pyc File 1.18 KB 0644
zzdummy.cpython-36.opt-2.pyc File 1.1 KB 0644
zzdummy.cpython-36.pyc File 1.18 KB 0644