ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     3

  \	                 @   s   d Z dd Zdd ZdS )z3Convert a NT pathname to a file URL and vice versa.c             C   s  ddl }ddl}| jdd} d| kr\| dd dkr@| dd } | jd}|jjd	j|S | jd}t|dks|d d |jkrd|  }t	||d d j
 }|d
 jd}|d }x$|D ]}|r|d	 |jj| }qW |jdo| jd r|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.parsereplacesplitparseZunquotejoinlenZascii_lettersOSErrorupperendswith)Zurlr
   urllib
componentscomperrordrivepath r   "/usr/lib64/python3.6/nturl2path.pyurl2pathname   s(    	


r   c             C   s   ddl }d| krD| dd dkr(d|  } | jd}|jjdj|S | jd}t|dksjt|d dkrzd	|  }t||jj|d j }|d jd}d
| d }x$|D ]}|r|d |jj| }qW |S )z{OS-specific conversion from a file system path to a relative URL
    of the 'file' scheme; not recommended for general use.r   Nr   r   z\\r   r   r   z
Bad path: z///)r   r   r   Zquoter   r   r   r   )pr   r   r   r   r   r   r   r   r   pathname2url(   s"    


r   N)__doc__r   r   r   r   r   r   <module>   s   %