HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/1452764/root/opt/alt/python33/lib64/python3.3/__pycache__/nturl2path.cpython-33.pyc
�
t�qc\	c@s"dZdd�Zdd�ZdS(u3Convert a NT pathname to a file URL and vice versa.cCslddl}ddl}|jdd�}d|kr�|dd�dkr_|dd�}n|jd�}|jjd	j|��S|jd�}t|�dks�|dd|jkr�d|}t	|��n|dd
j
�}|d
jd�}|d}x1|D])}|r|d	|jj|�}qqW|jd�rh|jd�rh|d	7}n|S(u{OS-specific conversion from a relative URL of the 'file' scheme
    to a file system path; not recommended for general use.iNu:u|iu////iu/u\iu	Bad URL: i����i����(ustringuurllib.parseureplaceusplituparseuunquoteujoinulenu
ascii_lettersuIOErroruupperuendswith(uurlustringuurllibu
componentsucompuerrorudriveupath((u//opt/alt/python33/lib64/python3.3/nturl2path.pyuurl2pathnames()


!
uurl2pathnamecCs(ddl}d|krc|dd�dkr;d|}n|jd�}|jjdj|��S|jd�}t|�dks�t|d�dkr�d	|}t|��n|jj|dj��}|djd�}d
|d}x1|D])}|r�|d|jj|�}q�q�W|S(u{OS-specific conversion from a file system path to a relative URL
    of the 'file' scheme; not recommended for general use.iNu:iu\\u\u/iu
Bad path: u///(uurllib.parseusplituparseuquoteujoinulenuIOErroruupper(upuurllibu
componentsucompuerrorudriveupath((u//opt/alt/python33/lib64/python3.3/nturl2path.pyupathname2url&s"
(

!upathname2urlN(u__doc__uurl2pathnameupathname2url(((u//opt/alt/python33/lib64/python3.3/nturl2path.pyu<module>s#