MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.38.184
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /../usr/lib64/python2.7/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../usr/lib64/python2.7/os2emxpath.pyc
�
m��fc#@s_dZddlZddlZddlTddlmZmZmZmZm	Z	m
Z
mZm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|jdd�j�S(sZNormalize case of pathname.

    Makes all characters lowercase and all altseps into seps.s\R%(treplacetlower(ts((s"/usr/lib64/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/lib64/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 an UNC part.
    iit:R+iR%s\i����s//s\\(R	tfindtlen(R-tfirstTwotnormptindex((s"/usr/lib64/python2.7/os2emxpath.pyR:s


cCst|�dS(s)Returns the final component of a pathnamei(R(R-((s"/usr/lib64/python2.7/os2emxpath.pyRXscCst|�dS(s-Returns the directory component of a pathnamei(R(R-((s"/usr/lib64/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\(RRR2(R.tunctrestR-((s"/usr/lib64/python2.7/os2emxpath.pyRms

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(RRR2tappendR
(R.tprefixtcompsti((s"/usr/lib64/python2.7/os2emxpath.pyRxs&

0
0
cCsRt|�sHt|t�r*tj�}ntj�}t||�}nt|�S(s%Return the absolute version of a path(Rt
isinstancetunicodetostgetcwdutgetcwdR
R(R.tcwd((s"/usr/lib64/python2.7/os2emxpath.pyR�s(#t__doc__R>tstattgenericpathtntpathRRRRRRRRt__all__RRR RRRRR!R	R
RRRRRRRRR"tFalseR#(((s"/usr/lib64/python2.7/os2emxpath.pyt<module>s:
:									

MMCT - 2023