| Server IP : 43.141.50.122 / Your IP : 113.219.202.141 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/__pycache__/ |
Upload File : |
�
��eG � � � d Z d� Zd� ZdS )z�Convert a NT pathname to a file URL and vice versa.
This module only exists to provide OS-specific code
for urllib.requests, thus do not use directly.
c �� � ddl }ddl}| � dd� � } d| vrZ| dd� dk r
| dd� } | � d� � }|j � d � |� � � � S | � d� � }t |� � dk s|d d
|j vrd| z }t |� � �|d d
�
� � }|d � d� � }|dz }|D ]$}|r |d z |j � |� � z }�%|� d� � r| � d� � r|d z
}|S )
z{OS-specific conversion from a relative URL of the 'file' scheme
to a file system path; not recommended for general use.� N�:�|� z////� �/�\���z Bad URL: � )�string�urllib.parse�replace�split�parse�unquote�join�len�
ascii_letters�OSError�upper�endswith)�urlr �urllib�
components�comp�error�drive�paths �#/usr/lib64/python3.11/nturl2path.py�url2pathnamer sv � � ��������
�+�+�c�3�
�
�C��#�:�:��r��r�7�f��� �a�b�b�'�C��Y�Y�s�^�^�
��|�#�#�D�I�I�j�$9�$9�:�:�:��9�9�S�>�>�D�
�4�y�y�A�~�~��a����F�,@�@�@��c�!���e�n�n����G�B�K�����E��a����s�#�#�J��3�;�D�� <� <��� <��$�;���!5�!5�d�!;�!;�;�D���}�}�S��� �c�l�l�3�/�/� ������K� c �2 � ddl }| dd� dk rX| dd� } | dd� � � � dk rd| dd� z } n | dd� d k rt d
| z � � �d | vrU| dd� dk rd| z } | � d� � }|j � d� |� � � � S | � d d�
� � }t |� � dk st |d � � dk rd
| z }t |� � �|j � |d � � � � � }|d � d� � }d|z d z }|D ]$}|r |dz |j � |� � z }�%|S )z{OS-specific conversion from a file system path to a relative URL
of the 'file' scheme; not recommended for general use.r Nr z\\?\zUNC\r r r r z
Bad path: z\\r )�maxsplitz///)r
r r r r �quoter r )�pr r r r r r s r �pathname2urlr&