• File: nturl2path.cpython-38.opt-2.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/proc/self/root/opt/alt/python38/lib64/python3.8/__pycache__/nturl2path.cpython-38.opt-2.pyc
  • Date Modified: 10/26/2026 8:15 PM
  • File size: 1.31 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
U

ifG@sddZddZdS)cCsddl}ddl}|dd}d|kr\|dddkr@|dd}|d}|jd|S|d}t|dks|dd	|jkrd
|}t	||dd	
}|dd}|d}|D]}|r|d|j|}q|dr|dr|d7}|S)N:|z/////\z	Bad URL: )stringurllib.parsereplacesplitparseZunquotejoinlenZ
ascii_lettersOSErrorupperendswith)Zurlr
urllib
componentscomperrordrivepathr//opt/alt/python38/lib64/python3.8/nturl2path.pyurl2pathnames(	

rcCs4ddl}|dddkrf|dd}|dddkrJd|dd}n|dddkrftd	|d|kr|ddd
krd
|}|d}|jd|S|jddd}t|dkst|ddkrd	|}t||j|d}|dd}d
|d}|D] }|r|d|j|}q|S)Nrrz\\?\zUNC\rr	rrz
Bad path: z\\r)maxsplitz///)rrrr
rZquoterr)prrrrrrrrrpathname2url-s.
rN)rrrrrr<module>s%