AlkantarClanX12

Your IP : 18.221.102.0


Current Path : /proc/self/root/opt/alt/python33/lib64/python3.3/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/__pycache__/nturl2path.cpython-33.pyo

�
��f\	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#