ACC SHELL

Path : /usr/lib/python/
File Upload :
Current File : //usr/lib/python/os2emxpath.pyo

Ñò
oÄMc'@s_dZddkZddkZddkTddklZlZlZlZl	Z	l
Z
lZlZddddd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'g#Z
d(Zd)Zd(Zd*Zd+Zd,Zd-Zd.Zd/„Zd0„Zd1„Zd2„Zd3„ZeZd4„Zd5„Zd6„ZeZ e!Z"dS(7sŒ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
expandusert
expandvarstisabstislinkt
splitdrivetsplitexttsplittwalktnormcaseRtjoinRRRtbasenametdirnametcommonprefixtgetsizetgetmtimetgetatimetgetctimeRtexiststlexiststisdirtisfiletismountRRRtnormpathtabspathtsplitunctcurdirtpardirtseptpathseptdefpathtaltseptextseptdevnulltrealpathtsupports_unicode_filenamest.s..t/s\t;s.;C:\bintnulcCs|iddƒiƒS(sZNormalize case of pathname.

    Makes all characters lowercase and all altseps into seps.s\R%(treplacetlower(ts((s /usr/lib/python2.6/os2emxpath.pyR	#scGsl|}x_|D]W}t|ƒo
|}q
|djp|ddjo||}q
|d|}q
W|S(s=Join two or more pathname components, inserting sep as neededtiÿÿÿÿs/\:R%(R(tatptpathtb((s /usr/lib/python2.6/os2emxpath.pyR
,s

cCsÌ|dd!djod|fS|dd!}|d	jp
|d
jo|t|ƒ}|iddƒ}|djod|fS|id|dƒ}|djot|ƒ}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 an UNC part.
    iit:R+iR%s\iÿÿÿÿs//s\\(R	tfindtlen(R-tfirstTwotnormptindex((s /usr/lib/python2.6/os2emxpath.pyR:s


cCst|ƒdS(s)Returns the final component of a pathnamei(R(R-((s /usr/lib/python2.6/os2emxpath.pyRXscCst|ƒdS(s-Returns the directory component of a pathnamei(R(R-((s /usr/lib/python2.6/os2emxpath.pyR_scCsUt|ƒ\}}|o|djSt|ƒd}t|ƒdjo|ddjS(s?Test whether a path is a mount point (defined as root of drive)R+R%s\iis/\(R+R%s\(RRR2(R.tunctrestR-((s /usr/lib/python2.6/os2emxpath.pyRms
cCsj|iddƒ}t|ƒ\}}x*|d djo|d}|d}q'W|idƒ}d}xÏ|t|ƒjo»||djo||=qi||djoB|djo5||ddjo ||d|d5|d}qi||djo-|djo ||ddjo||=qi|d}qiW|o|o|idƒn|di|ƒS(	s0Normalize path, eliminating double slashes, etc.s\R%iiR$s..R+(R+s..(R(RRR2tappendR
(R.tprefixtcompsti((s /usr/lib/python2.6/os2emxpath.pyRxs*
33cCsVt|ƒp?t|tƒotiƒ}n
tiƒ}t||ƒ}nt|ƒS(s%Return the absolute version of a path(Rt
isinstancetunicodetostgetcwdutgetcwdR
R(R.tcwd((s /usr/lib/python2.6/os2emxpath.pyR’s
(#t__doc__R>tstattgenericpathtntpathRRRRRRRRt__all__RRR RRRRR!R	R
RRRRRRRRR"tFalseR#(((s /usr/lib/python2.6/os2emxpath.pyt<module>s:
:									

ACC SHELL 2018