Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.10/idlelib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.10/idlelib/__pycache__/help_about.cpython-310.pyc
o

�9j�#�@s�dZddlZddlZddlZddlmZmZddlmZm	Z	m
Z
mZmZddlm
Z
mZmZmZmZmZmZmZmZmZddlmZe�Zdd�ZGd	d
�d
e�ZedkrnddlmZed
ddd�ddlm Z e e�dSdS)zAbout Dialog for IDLE

�N)�python_version�architecture)�Toplevel�Frame�Label�Button�
PhotoImage)
�SUNKEN�TOP�BOTTOM�LEFT�X�BOTH�W�EW�NSEW�E)�textviewcCs.tjdkrtjdkrdSdSt�ddd�S)zReturn bits for platform.�darwinl�64�32rN�)�sys�platform�maxsizer�rr�)/usr/lib/python3.10/idlelib/help_about.py�
build_bitss
rc@sveZdZdZdddd�dd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Z	dd�Z
dd�Zdd�Zddd�Z
ddd�ZdS)�AboutDialogz!Modal about dialog for idle

    NF)�_htest�_utestcCs�t�||�|jdd�|�d|��d|��|sdndf�d|_d|_|��|j	ddd	�|�
|p?d
t�dt��d��|�
|�|��|�d
|j�||_|j��|�d|j�|�d|j�d|_||_|sy|��|��dSdS)aCreate popup, do not return until tk widget destroyed.

        parent - parent of this dialog
        title - string which is title of popup dialog
        _htest - bool, change box location when running htest
        _utest - bool, don't wait_window when running unittest
        �)�borderwidthz+%d+%d��dz#bbbbbbz#000000F)�height�widthzAbout IDLE z (z bit)�WM_DELETE_WINDOWz<Return>z<Escape>N)r�__init__�	configure�geometry�winfo_rootx�winfo_rooty�bg�fg�create_widgets�	resizable�title�versionr�	transient�grab_set�protocol�ok�parent�	button_ok�	focus_set�bind�_current_textviewr �	deiconify�wait_window)�selfr7r1rr rrrr(s4
��

�zAboutDialog.__init__cs�t|dtd�}t|�}|jttd�|jtdtd�t|d|jd�|_	|j	jddd	�t||j
d
�}|jdtd�t|d|j|j
d
d�}|j
ddtddd�|j�dd�}|dkr[dnd}tj�tj�tj�t��dd|���}t|��|d�|_t||j|j
d�}|j
ddtdddd�d}	t||	t|j|j
d�}
|
j
ddtdddd�t|d t|j|j
d�}|j
d!ddtddd"�d#tjdd�}t||t|j|j
d���j
d$ddtddd"���d%�fd&d'��t|d(td|j
d)�j
d*dtdddd�t|d+t |j|j
d,�}
|
j
d-dtddd�t|d.||j|j
d,�}|j
d-d(tddd�t||j
d
�}|j
dddt!d/�t|d0d*|j
|j"d1�|_#|j#jtddd2�t|d3d*|j
|j$d1�|_%|j%jtddd2�t|d4d*|j
|j&d1�|_'|j'jtddd2�t|d(td|j
d)�j
d5dtdddd�t|d6t |j|j
d,�}|j
d7dtddd�t||j
d
�}|j
d8ddt!d/�t|d9d*|j
|j(d1�|_)|j)jtddd2�t|d:d*|j
|j*d1�|_+|j+jtddd2�t|d4d*|j
|j,d1�|_-|j-jtddd2�dS);Nr)r"�relief)�side�fillT)r@�expandrA�Close)�text�commandr!)�padx�pady)r-)rBrA�IDLE)�courier��bold)rDr.r-�fontr�
)�row�column�stickyrFrG�info�
patchlevelz8.6z.pngz.gif�Icons�idle_48)�master�file)�imager-)rNrOrP�rowspanrFrGz=Python's Integrated Development
and Learning Environment




)rD�justifyr.r-�)rNrOrP�
columnspanrFrGzemail:  idle-dev@python.org�)rNrOr[rPrFrGz/https://docs.python.org/%d.%d/library/idle.html�z
<Button-1>cst��d�S)NrD)�
webbrowser�open)�event��docsrr�<lambda>csz,AboutDialog.create_widgets.<locals>.<lambda>�)r"r?r%r-�zPython version:  )rDr.r-�	z
Tk version:  )rNrOr[rP�License)rDr&�highlightbackgroundrE)r@rFrG�	Copyright�Credits�zIDLE version:   ��
�README�NEWS).rr	�packrr
r
rrr6r8r-rr.�gridr�tk�call�os�path�join�abspath�dirname�__file__r�_root�
icon_imagerrr�version_infor:rr2r�show_py_license�
py_license�show_py_copyright�py_copyright�show_py_credits�
py_credits�show_readme�readme�show_idle_news�	idle_news�show_idle_credits�idle_credits)r>�frame�
frame_buttons�frame_background�header�
tk_patchlevel�ext�icon�logo�byline_text�byline�email�docs_url�pyver�tkver�
py_buttons�idlever�idle_buttonsrrarr/?s��
�
��
��
����
����������zAboutDialog.create_widgetscC�|�dt�dS)zHandle License button event.zAbout - LicenseN)�display_printer_text�license�r>rrrr}��zAboutDialog.show_py_licensecCr�)zHandle Copyright button event.zAbout - CopyrightN)r��	copyrightr�rrrr�r�zAboutDialog.show_py_copyrightcCr�)z#Handle Python Credits button event.zAbout - Python CreditsN)r��creditsr�rrrr��r�zAboutDialog.show_py_creditscC�|�ddd�dS)z!Handle Idle Credits button event.zAbout - CreditszCREDITS.txt�utf-8N��display_file_textr�rrrr���zAboutDialog.show_idle_creditscCr�)zHandle Readme button event.zAbout - Readmez
README.txt�asciiNr�r�rrrr��r�zAboutDialog.show_readmecCr�)zHandle News button event.zAbout - NEWSzNEWS.txtr�Nr�r�rrrr��r�zAboutDialog.show_idle_newscCs.|��d�|j�}tj||||jd�|_dS)aCreate textview for built-in constants.

        Built-in constants have type _sitebuiltins._Printer.  The
        text is extracted from the built-in and then sent to a text
        viewer with self as the parent and title as the title of
        the popup.
        �
�r N)�_Printer__setuprv�_Printer__linesr�	view_textr r;)r>r1�printerrDrrrr��s

�z AboutDialog.display_printer_textcCs:tj�tj�tj�t��|�}tj|||||jd�|_	dS)z�Create textview for filename.

        The filename needs to be in the current directory.  The path
        is sent to a text viewer with self as the parent, title as
        the title of the popup, and the file encoding.
        r�N)
rtrurvrwrxryr�	view_filer r;)r>r1�filename�encoding�fnrrrr��s�zAboutDialog.display_file_textcCs|��|��dS)zDismiss help_about dialog.N)�grab_release�destroy)r>r`rrrr6�szAboutDialog.ok)N)�__name__�
__module__�__qualname__�__doc__r(r/r}rr�r�r�r�r�r�r6rrrrrs"X

r�__main__)�mainz!idlelib.idle_test.test_help_aboutrF)�	verbosity�exit)�run)!r�rtrr^rrr�tkinterrrrrrr	r
rrr
rrrrr�idlelibrr2rrr��unittestr��idlelib.idle_test.htestr�rrrr�<module>s$07�

Youez - 2016 - github.com/yon3zu
LinuXploit