__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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.217.122: ~ $
�
e f�#�@s�dZddlZddlZddlZddlmZejejdZe	dd�\Z
Zddlm
Z
ddlmZddlZejZejr�eej7ZnGd	d
�d
�Zedkr�ddlmZed
dd�ndS)z�AutoComplete.py - An IDLE extension for automatically completing names.

This extension can complete either attribute names of file names. It can pop
a window with all available names, for the user to select from.
�N)�idleConf�_��)�AutoCompleteWindow)�HyperParserc@s�eZdZdd!gfgZejddddddd	�Zd
dd�Zd
d�Zd
dd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zd
dd�Zdd�Zdd �Zd
S)"�AutoCompleteZedit�Show Completions�<<force-open-completions>>�
extensions�	popupwait�type�int�defaultrNcCsD||_|dkrdS|j|_d|_d|_d|_dS)N)�editwin�text�autocompletewindow�_delayed_completion_id�_delayed_completion_index)�selfr�r�9/opt/alt/python34/lib64/python3.4/idlelib/AutoComplete.py�__init__&s			zAutoComplete.__init__cCstj|j�S)N)rr)rrrr�_make_autocomplete_window3sz&AutoComplete._make_autocomplete_windowcCs&|jr"|jj�d|_ndS)N)rZhide_window)r�eventrrr�_remove_autocomplete_window6s	
z(AutoComplete._remove_autocomplete_windowcCs|jddd�dS)zqHappens when the user really wants to open a completion list, even
        if a function call is needed.
        TFN)�open_completions)rrrrr�force_open_completions_event;sz)AutoComplete.force_open_completions_eventcCs`|jjd�}|dkr7|jdddt�n%|tkr\|jdddt�ndS)z�Happens when it would be nice to open a completion list, but not
        really necessary, for example after an dot, so function
        calls won't be made.
        z	insert-1c�.FN)r�get�_open_completions_later�COMPLETE_ATTRIBUTES�SEPS�COMPLETE_FILES)rrZlastcharrrr�try_open_completions_eventAs
z'AutoComplete.try_open_completions_eventcCsht|d�r|jrdS|jrE|jj�rE|jj�dS|jddd�}|rddSdS)z�Happens when the user wants to complete his word, and if necessary,
        open a completion list after that (if there is more than one
        completion)
        �mc_stateN�breakFT)�hasattrr%rZ	is_active�completer)rrZopenedrrr�autocomplete_eventNs
zAutoComplete.autocomplete_eventcGs_|jjd�|_|jdk	r:|jj|j�n|jj|j|j|�|_dS)N�insert)r�indexrr�after_cancel�afterr�_delayed_open_completions)r�argsrrrr ^s
z$AutoComplete._open_completions_latercGs9d|_|jjd�|jkr(dS|j|�dS)Nr*)rrr+rr)rr/rrrr.fs	z&AutoComplete._delayed_open_completionscCs�|jdk	r.|jj|j�d|_nt|jd�}|jjdd�}t|�}}|j�r|s�|tkr|j	�t}x,|r�||ddt
kr�|d8}q�W|||�}	|}x(|r||ddkr|d8}q�W|||�}
n|j�r|s6|tkr|j	�t}xB|r�||dt
ks}t||d�dkr�|d8}qIW|||�}	|r
||ddkr
|jdt|�|d�|j�}
|
s|r|
jd	�dkrdSqd
}
ndS|r/|
r/|	r/dS|j|
|�}|dsOdS|j�|_|jj|dt|	�|||�S)
aXFind the completions and create the AutoCompleteWindow.
        Return True if successful (no syntax error or so found).
        if complete is True, then if there's nothing to complete and no
        start of completion, won't open completions and return False.
        If mode is given, will open a completion list only in this mode.
        Nr*zinsert linestartrz'"�rz
insert-%dc�(�r���)rrr,rrr�lenZis_in_stringr#rr"Z
is_in_coder!�ID_CHARS�ordZ	set_indexZget_expression�find�fetch_completionsrrZshow_window)rZ	evalfuncsr(ZuserWantsWin�modeZhpZcurline�i�jZ
comp_startZ	comp_whatZ
comp_listsrrrrlsN
!
7	
	zAutoComplete.open_completionsc	Cs�y|jjjjj}Wnd}YnX|rL|jdd||fi�S|tkrK|dkr�tjj	�}|j
tjj�td|�}|j
�d|kr�ttd|��}qHdd�|D�}q�yZ|j|�}t|�}|j
�d|krt|j�}nd	d�|D�}Wq�ggfSYq�Xn�|tkr�|dkrld
}nyBtjj|�}tj|�}|j
�dd�|D�}Wq�tk
r�ggfSYq�Xn|s�|}n||fSdS)aOReturn a pair of lists of completions for something. The first list
        is a sublist of the second. Both are sorted.

        If there is a Python subprocess, get the comp. list there.  Otherwise,
        either fetch_completions() is running in the subprocess itself or it
        was called in an IDLE EditorWindow before any script had been run.

        The subprocess environment is that of the most recently run script.  If
        two unrelated modules are being edited some calltips in the current
        module may be inoperative if the module was not the last to run.
        N�execZget_the_completion_listr2zdir()�__all__cSs,g|]"}|dd�dkr|�qS)Nrrr)�.0�srrr�
<listcomp>�s	z2AutoComplete.fetch_completions.<locals>.<listcomp>cSs,g|]"}|dd�dkr|�qS)Nrrr)r>r?rrrr@�s	rcSs,g|]"}|dd�dkr|�qS)Nrrr)r>r?rrrr@�s	)rZflistZpyshellZinterp�rpccltZ
remotecallr!�__main__�__dict__�copy�update�__builtins__�eval�sort�sorted�
get_entity�dirr=r#�os�path�
expanduser�listdir�OSError)	rZwhatr9rA�	namespaceZbiglZsmalllZentityZexpandedpathrrrr8�sL

	

	zAutoComplete.fetch_completionscCs,tjj�}|jtj�t||�S)zALookup name in a namespace spanning sys.modules and __main.dict__)�sys�modulesrDrErBrCrG)r�namerQrrrrJ�szAutoComplete.get_entity)r	r
)�__name__�
__module__�__qualname__ZmenudefsrZ	GetOptionrrrrrr$r)r r.rr8rJrrrrrs

;9rrB)�mainz#idlelib.idle_test.test_autocomplete�	verbosity�)�__doc__rLrR�stringZidlelib.configHandlerrZ
ascii_lettersZdigitsr5�ranger!r#ZidlelibrZidlelib.HyperParserrrB�sepr"�altseprrUZunittestrXrrrr�<module>s 		�

Filemanager

Name Type Size Permission Actions
AutoComplete.cpython-34.pyc File 7.53 KB 0644
AutoComplete.cpython-34.pyo File 7.53 KB 0644
AutoCompleteWindow.cpython-34.pyc File 11.27 KB 0644
AutoCompleteWindow.cpython-34.pyo File 11.21 KB 0644
AutoExpand.cpython-34.pyc File 3.11 KB 0644
AutoExpand.cpython-34.pyo File 3.11 KB 0644
Bindings.cpython-34.pyc File 3.08 KB 0644
Bindings.cpython-34.pyo File 3.08 KB 0644
CallTipWindow.cpython-34.pyc File 5.24 KB 0644
CallTipWindow.cpython-34.pyo File 5.24 KB 0644
CallTips.cpython-34.pyc File 5.81 KB 0644
CallTips.cpython-34.pyo File 5.81 KB 0644
ClassBrowser.cpython-34.pyc File 8.38 KB 0644
ClassBrowser.cpython-34.pyo File 8.38 KB 0644
CodeContext.cpython-34.pyc File 6.04 KB 0644
CodeContext.cpython-34.pyo File 6 KB 0644
ColorDelegator.cpython-34.pyc File 7.84 KB 0644
ColorDelegator.cpython-34.pyo File 7.84 KB 0644
Debugger.cpython-34.pyc File 15.3 KB 0644
Debugger.cpython-34.pyo File 15.3 KB 0644
Delegator.cpython-34.pyc File 1.08 KB 0644
Delegator.cpython-34.pyo File 1.08 KB 0644
EditorWindow.cpython-34.pyc File 51.43 KB 0644
EditorWindow.cpython-34.pyo File 51.34 KB 0644
FileList.cpython-34.pyc File 3.55 KB 0644
FileList.cpython-34.pyo File 3.53 KB 0644
FormatParagraph.cpython-34.pyc File 6.22 KB 0644
FormatParagraph.cpython-34.pyo File 6.22 KB 0644
GrepDialog.cpython-34.pyc File 5.53 KB 0644
GrepDialog.cpython-34.pyo File 5.53 KB 0644
HyperParser.cpython-34.pyc File 7.26 KB 0644
HyperParser.cpython-34.pyo File 7.26 KB 0644
IOBinding.cpython-34.pyc File 14.1 KB 0644
IOBinding.cpython-34.pyo File 14.1 KB 0644
IdleHistory.cpython-34.pyc File 3.62 KB 0644
IdleHistory.cpython-34.pyo File 3.62 KB 0644
MultiCall.cpython-34.pyc File 16.23 KB 0644
MultiCall.cpython-34.pyo File 16.17 KB 0644
MultiStatusBar.cpython-34.pyc File 1.9 KB 0644
MultiStatusBar.cpython-34.pyo File 1.9 KB 0644
ObjectBrowser.cpython-34.pyc File 5.39 KB 0644
ObjectBrowser.cpython-34.pyo File 5.39 KB 0644
OutputWindow.cpython-34.pyc File 4.44 KB 0644
OutputWindow.cpython-34.pyo File 4.44 KB 0644
ParenMatch.cpython-34.pyc File 6.32 KB 0644
ParenMatch.cpython-34.pyo File 6.32 KB 0644
PathBrowser.cpython-34.pyc File 4.02 KB 0644
PathBrowser.cpython-34.pyo File 4.02 KB 0644
Percolator.cpython-34.pyc File 4.03 KB 0644
Percolator.cpython-34.pyo File 3.86 KB 0644
PyParse.cpython-34.pyc File 11.26 KB 0644
PyParse.cpython-34.pyo File 10.82 KB 0644
PyShell.cpython-34.pyc File 47.08 KB 0644
PyShell.cpython-34.pyo File 46.94 KB 0644
RemoteDebugger.cpython-34.pyc File 14.31 KB 0644
RemoteDebugger.cpython-34.pyo File 14.17 KB 0644
RemoteObjectBrowser.cpython-34.pyc File 1.96 KB 0644
RemoteObjectBrowser.cpython-34.pyo File 1.96 KB 0644
ReplaceDialog.cpython-34.pyc File 6.76 KB 0644
ReplaceDialog.cpython-34.pyo File 6.76 KB 0644
RstripExtension.cpython-34.pyc File 1.33 KB 0644
RstripExtension.cpython-34.pyo File 1.33 KB 0644
ScriptBinding.cpython-34.pyc File 6.92 KB 0644
ScriptBinding.cpython-34.pyo File 6.92 KB 0644
ScrolledList.cpython-34.pyc File 5.64 KB 0644
ScrolledList.cpython-34.pyo File 5.64 KB 0644
SearchDialog.cpython-34.pyc File 3.28 KB 0644
SearchDialog.cpython-34.pyo File 3.28 KB 0644
SearchDialogBase.cpython-34.pyc File 7.53 KB 0644
SearchDialogBase.cpython-34.pyo File 7.53 KB 0644
SearchEngine.cpython-34.pyc File 7.3 KB 0644
SearchEngine.cpython-34.pyo File 7.3 KB 0644
StackViewer.cpython-34.pyc File 5.49 KB 0644
StackViewer.cpython-34.pyo File 5.49 KB 0644
ToolTip.cpython-34.pyc File 3.96 KB 0644
ToolTip.cpython-34.pyo File 3.96 KB 0644
TreeWidget.cpython-34.pyc File 15.29 KB 0644
TreeWidget.cpython-34.pyo File 15.29 KB 0644
UndoDelegator.cpython-34.pyc File 11.54 KB 0644
UndoDelegator.cpython-34.pyo File 11.54 KB 0644
WidgetRedirector.cpython-34.pyc File 6.95 KB 0644
WidgetRedirector.cpython-34.pyo File 6.95 KB 0644
WindowList.cpython-34.pyc File 3.16 KB 0644
WindowList.cpython-34.pyo File 3.16 KB 0644
ZoomHeight.cpython-34.pyc File 1.37 KB 0644
ZoomHeight.cpython-34.pyo File 1.37 KB 0644
__init__.cpython-34.pyc File 434 B 0644
__init__.cpython-34.pyo File 434 B 0644
__main__.cpython-34.pyc File 279 B 0644
__main__.cpython-34.pyo File 279 B 0644
aboutDialog.cpython-34.pyc File 5.81 KB 0644
aboutDialog.cpython-34.pyo File 5.81 KB 0644
configDialog.cpython-34.pyc File 47.84 KB 0644
configDialog.cpython-34.pyo File 47.84 KB 0644
configHandler.cpython-34.pyc File 26.1 KB 0644
configHandler.cpython-34.pyo File 26.1 KB 0644
configHelpSourceEdit.cpython-34.pyc File 5.66 KB 0644
configHelpSourceEdit.cpython-34.pyo File 5.66 KB 0644
configSectionNameDialog.cpython-34.pyc File 3.85 KB 0644
configSectionNameDialog.cpython-34.pyo File 3.85 KB 0644
dynOptionMenuWidget.cpython-34.pyc File 2.38 KB 0644
dynOptionMenuWidget.cpython-34.pyo File 2.38 KB 0644
help.cpython-34.pyc File 9.52 KB 0644
help.cpython-34.pyo File 9.52 KB 0644
idle.cpython-34.pyc File 368 B 0644
idle.cpython-34.pyo File 368 B 0644
idlever.cpython-34.pyc File 551 B 0644
idlever.cpython-34.pyo File 551 B 0644
keybindingDialog.cpython-34.pyc File 10.76 KB 0644
keybindingDialog.cpython-34.pyo File 10.76 KB 0644
macosxSupport.cpython-34.pyc File 7.13 KB 0644
macosxSupport.cpython-34.pyo File 7.02 KB 0644
rpc.cpython-34.pyc File 20.51 KB 0644
rpc.cpython-34.pyo File 20.41 KB 0644
run.cpython-34.pyc File 12.35 KB 0644
run.cpython-34.pyo File 12.3 KB 0644
tabbedpages.cpython-34.pyc File 16.74 KB 0644
tabbedpages.cpython-34.pyo File 16.74 KB 0644
textView.cpython-34.pyc File 3.26 KB 0644
textView.cpython-34.pyo File 3.26 KB 0644