JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrJFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr Yf @s"dZddZddZdS)z3Convert a NT pathname to a file URL and vice versa.cCs`ddl}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|}q W|j dr\|j dr\|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//opt/alt/python35/lib64/python3.5/nturl2path.py url2pathnames(  )     rcCsddl}d|kr`|dddkr8d|}|jd}|jjdj|S|jd}t|dkst|ddkrd |}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///)r r rZquoterrrr)prrrrrrrrr pathname2url(s"   (   rN)__doc__rrrrrrs %