MINI MINI MANI MO

Path : /usr/lib64/python3.6/__pycache__/
File Upload :
Current File : //usr/lib64/python3.6/__pycache__/nturl2path.cpython-36.pyc

3


 \	@sdZddZddZdS)z3Convert a NT pathname to a file URL and vice versa.cCsddl}ddl}|jdd}d|kr\|dddkr@|dd}|jd}|jjd	j|S|jd}t|dks|dd|jkrd|}t	||dd
j
}|d
jd}|d}x$|D]}|r|d	|jj|}qW|jdo|jdr|d	7}|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: r	)stringurllib.parsereplacesplitparseZunquotejoinlenZ
ascii_lettersOSErrorupperendswith)Zurlr
urllib
componentscomperrordrivepathr"/usr/lib64/python3.6/nturl2path.pyurl2pathnames(	


rcCsddl}d|krD|dddkr(d|}|jd}|jjdj|S|jd}t|dksjt|ddkrzd	|}t||jj|dj}|djd}d
|d}x$|D]}|r|d|jj|}qW|S)z{OS-specific conversion from a file system path to a relative URL
    of the 'file' scheme; not recommended for general use.rNrrz\\rrrz
Bad path: z///)rr
rZquoterrrr)prrrrrrrrrpathname2url(s"


rN)__doc__rrrrrr<module>s%

OHA YOOOO