JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrJFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr i f @s"dZddZddZdS)z3Convert a NT pathname to a file URL and vice versa.cCslddl}ddl}|jdd}d|kr|dddkr_|dd}n|jd}|jjd j|S|jd}t|dks|dd |jkrd |}t |n|dd j }|d jd}|d}x1|D])}|r|d |jj|}qqW|j drh|j drh|d 7}n|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/python34/lib64/python3.4/nturl2path.py url2pathnames(  )   ! rcCs(ddl}d|krc|dddkr;d|}n|jd}|jjdj|S|jd}t|dkst|ddkrd |}t|n|jj|dj}|djd}d |d}x1|D])}|r|d|jj|}qqW|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 %