MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.141.21.199
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /../lib64/GConf/../setools/../python2.7/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../lib64/GConf/../setools/../python2.7/nturl2path.pyo
�
m��fc@sdZd�Zd�ZdS(s3Convert a NT pathname to a file URL and vice versa.cCsWddl}ddl}|jdd�}d|krx|d dkrS|d}n|jd�}|jd	j|��S|jd�}t|�dks�|d
d|jkr�d|}t|�n|d
dj	�}|d}|djd�}x.|D]&}|r�|d	|j|�}q�q�W|j
d�rS|j
d�rS|d	7}n|S(
s{OS-specific conversion from a relative URL of the 'file' scheme
    to a file system path; not recommended for general use.i����Nt:t|is////it/s\is	Bad URL: i(tstringturllibtreplacetsplittunquotetjointlent
ascii_letterstIOErrortuppertendswith(turlRRt
componentstcompterrortdrivetpath((s"/usr/lib64/python2.7/nturl2path.pyturl2pathnames(
)



cCsddl}d|krZ|d dkr5d|}n|jd�}|jdj|��S|jd�}t|�dks�t|d�d	kr�d
|}t|�n|j|dj��}|d	jd�}d|d}x.|D]&}|r�|d|j|�}q�q�W|S(s{OS-specific conversion from a file system path to a relative URL
    of the 'file' scheme; not recommended for general use.i����NRis\\s\Riis
Bad path: s///(RRtquoteRR	RR(tpRRRRRR((s"/usr/lib64/python2.7/nturl2path.pytpathname2url&s"
(

N(t__doc__RR(((s"/usr/lib64/python2.7/nturl2path.pyt<module>s	#

MMCT - 2023