%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/os2emxpath.pyc

ó
Męáac#@sodZddlZddlZddlTddlmZddlmZmZmZm	Z	m
Z
mZmZm
Z
dddd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(g#Zd)Zd*Zd)Zd+Zd,Zd-Zd.Zd/Zd0„Zd1„Zd2„Zd3„Zd4„ZeZd5„Zd6„Zd7„Z e Z!e"Z#dS(8sŒCommon pathname manipulations, OS/2 EMX version.

Instead of importing this module directly, import os and refer to this
module as os.path.
i˙˙˙˙N(t*(t_unicode(t
expandusert
expandvarstisabstislinkt
splitdrivetsplitexttsplittwalktnormcaseRtjoinRRRtbasenametdirnametcommonprefixtgetsizetgetmtimetgetatimetgetctimeRtexiststlexiststisdirtisfiletismountR	RRtnormpathtabspathtsplitunctcurdirtpardirtseptpathseptdefpathtaltseptextseptdevnulltrealpathtsupports_unicode_filenamest.s..t/s\t;s.;C:\bintnulcCs|jddƒjƒS(sZNormalize case of pathname.

    Makes all characters lowercase and all altseps into seps.s\R&(treplacetlower(ts((s&/usr/local/lib/python2.7/os2emxpath.pyR
$scGsg|}xZ|D]R}t|ƒr(|}q
|dksD|ddkrQ||}q
|d|}q
W|S(s=Join two or more pathname components, inserting sep as neededti˙˙˙˙s/\:R&(R(tatptpathtb((s&/usr/local/lib/python2.7/os2emxpath.pyR-s
	
cCsĂ|dd!dkrd|fS|dd!}|d	ksB|d
kršt|ƒ}|jddƒ}|dkrvd|fS|jd|dƒ}|dkr§t|ƒ}n|| ||fSd|fS(s?Split a pathname into UNC mount point and relative path specifiers.

    Return a 2-tuple (unc, rest); either part may be empty.
    If unc is not empty, it has the form '//host/mount' (or similar
    using backslashes).  unc+rest is always the input path.
    Paths containing drive letters never have a UNC part.
    iit:R,iR&s\i˙˙˙˙s//s\\(R
tfindtlen(R.tfirstTwotnormptindex((s&/usr/local/lib/python2.7/os2emxpath.pyR;s


cCst|ƒdS(s)Returns the final component of a pathnamei(R(R.((s&/usr/local/lib/python2.7/os2emxpath.pyRYscCst|ƒdS(s-Returns the directory component of a pathnamei(R(R.((s&/usr/local/lib/python2.7/os2emxpath.pyR
`scCsRt|ƒ\}}|r"|dkSt|ƒd}t|ƒdkoQ|ddkS(s?Test whether a path is a mount point (defined as root of drive)R,R&s\iis/\(R,R&s\(RRR3(R/tunctrestR.((s&/usr/local/lib/python2.7/os2emxpath.pyRns

cCsY|jddƒ}t|ƒ\}}x(|d dkrN|d}|d}q'W|jdƒ}d}xĂ|t|ƒkr)||dkr“||=qg||dkrâ|dkrâ||ddkrâ||d|d5|d}qg||dkr|dkr||ddkr||=qg|d}qgW|rH|rH|jdƒn|dj|ƒS(	s0Normalize path, eliminating double slashes, etc.s\R&iiR%s..R,(R,s..(R)RRR3tappendR(R/tprefixtcompsti((s&/usr/local/lib/python2.7/os2emxpath.pyRys&

0
0
cCsRt|ƒsHt|tƒr*tjƒ}ntjƒ}t||ƒ}nt|ƒS(s%Return the absolute version of a path(Rt
isinstanceRtostgetcwdutgetcwdRR(R/tcwd((s&/usr/local/lib/python2.7/os2emxpath.pyR“s($t__doc__R>tstattgenericpathRtntpathRRRRRRRR	t__all__RRR!RR RRR"R
RRRR
RRRRRR#tFalseR$(((s&/usr/local/lib/python2.7/os2emxpath.pyt<module>s<
:									

Zerion Mini Shell 1.0