Server IP : 162.213.251.212 / Your IP : 18.191.103.151 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/usr/lib64/python3.8/__pycache__/ |
Upload File : |
U e5dn5 � @ s� d Z ddlZddlZddlZddlZddlZddlmZ dddgZ ddd �Z dd d�Zdd� Zddd�Z ddd�Zdd� Zedkr�ee� �Ze�e� dS )a� Module/script to byte-compile all .py files to .pyc files. When called as a script with arguments, this compiles the directories given as arguments recursively; the -l option prevents it from recursing into directories. Without arguments, if compiles all modules on sys.path, without recursing into subdirectories. (Even though it should do so for packages -- for now, you'll have to deal with packages separately.) See module py_compile for details of the actual byte-compilation. � N)�partial�compile_dir�compile_file�compile_path� c c s |dk rt | tj�rt�| �} |s0td�| �� zt�| �}W n. tk rl |dk rdtd�| �� g }Y nX |�� |D ]�}|dkr�qztj � | |�}|d k r�tj � ||�}nd }tj �|�s�||fV qz|dkrz|tjkrz|tj krztj �|�rztj �|�szt|||d |d�E d H qzd S )N� zListing {!r}...zCan't list {!r}�__pycache__r � )�ddir� maxlevels�quiet)� isinstance�os�PathLike�fspath�print�format�listdir�OSError�sort�path�join�isdir�curdir�pardir�islink� _walk_dir)�dirr r r �names�name�fullname�dfile� r"