Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.119.255.135
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : ntpath.cpython-32.pyc
l
��bc%@s*dZddlZddlZddlZddlZddlTdddddd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(g%Zd)Zd*Zd)Zd+Z	d,Z
d-Zd.Zd/ej
kr�d0Znd1ej
krd-Znd2Zd3�Zd4�Zd5�Zd6�Zd7�Zd8�Zd9�Zd:�Zd;�Zd<�Zd=�Zd>�Zd?�Zd@�Zejje_dA�ZdB�ZdC�Z dD�Z!dE�Z"dF�Z#dG�Z$dH�Z%yddIl&m'Z'Wne(k
rdJ�Z)Yn
XdK�Z)e)Z*e+edL�oMej,�dMdNkZ-edO�Z.y9ej,�ddN�dXkr�ddQl&m/Z/ne(�Wn!e0e(fk
r�dR�Z/YnXdS�Z1yddTl&m2Z2Wne(k
r�dU�Z2YnXdV�Z3yddWl&m4Z5Wne(k
r%YnXdS(Yu�Common pathname manipulations, WindowsNT/95 version.

Instead of importing this module directly, import os and refer to this
module as os.path.
iN(u*unormcaseuisabsujoinu
splitdriveusplitusplitextubasenameudirnameucommonprefixugetsizeugetmtimeugetatimeugetctimeuislinkuexistsulexistsuisdiruisfileuismountu
expanduseru
expandvarsunormpathuabspathusplituncucurdirupardirusepupathsepudefpathualtsepuextsepudevnullurealpathusupports_unicode_filenamesurelpathusamefileusameopenfileu.u..u\u;u/u.;C:\binuceu\Windowsuos2unulcCst|t�rdSdSdS(Nsu(u
isinstanceubytes(upath((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu
_get_empty&scCst|t�rdSdSdS(Ns\u\(u
isinstanceubytes(upath((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu_get_sep,scCst|t�rdSdSdS(Ns/u/(u
isinstanceubytes(upath((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu_get_altsep2scCst|t�rdSdSdS(Ns\/u\/(u
isinstanceubytes(upath((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu
_get_bothseps8scCst|t�rdSdSdS(Ns.u.(u
isinstanceubytes(upath((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu_get_dot>scCst|t�rdSdSdS(Ns:u:(u
isinstanceubytes(upath((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu
_get_colonDscCst|t�rdSdSdS(Ns\\.\s\\?\u\\.\u\\?\(s\\.\s\\?\(u\\.\u\\?\(u
isinstanceubytes(upath((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu_get_specialJscCsUt|ttf�s3tdj|jj���n|jt|�t	|��j
�S(uaNormalize case of pathname.

    Makes all characters lowercase and all slashes into backslashes.u2normcase() argument must be str or bytes, not '{}'(u
isinstanceubytesustru	TypeErroruformatu	__class__u__name__ureplaceu_get_altsepu_get_sepulower(us((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyunormcaseTs	cCs<t|�d}t|�dko;|dd�t|�kS(uTest whether a path is absoluteiiN(u
splitdriveulenu
_get_bothseps(us((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyuisabsdscGs�t|�}t|�}t|�}|}xu|D]m}d}|sLd}nnt|�r�t|�\}}	|ryd}q�|	r�|	d|ks�t�t|�d}
|
o�|
|k}n|r�|}q1t|�dks�t�|dd�|kr7|r*|dd�|kr*||dd�7}q�||7}q1|dd�|krZ||7}q1|r�|dd�|kr�||7}q�|||7}q1||7}q1W|S(u�Join two or more pathname components, inserting "\" as needed.
    If any component is an absolute path, all previous path components
    will be discarded.iiNi����i����(u_get_sepu
_get_bothsepsu
_get_colonuisabsu
splitdriveuAssertionErrorulen(uaupusepusepsucolonupathubub_winsub_prefixub_restu	path_rest((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyujoinls<
			


cCs>t|�}t|�dkr4t|�}t|�}|dd�|dkr�|dd�|kr�|j|d�}|dkr�||fS|j||d�}||dkr�||fS|dkr�t|�}n|d|�||d�fS|dd�t|�kr4|dd�|dd�fSn||fS(u�Split a pathname into drive/UNC sharepoint and relative path specifiers.
    Returns a 2-tuple (drive_or_unc, path); either part may be empty.

    If you assign
        result = splitdrive(p)
    It is always true that:
        result[0] + result[1] == p

    If the path contained a drive letter, drive_or_unc will contain everything
    up to and including the colon.  e.g. splitdrive("c:/dir") returns ("c:", "/dir")

    If the path contained a UNC path, the drive_or_unc will contain the host name
    and share up to but not including the fourth directory separator character.
    e.g. splitdrive("//host/computer/dir") returns ("//host/computer", "/dir")

    Paths cannot contain both a drive letter and a UNC path.

    iiiiNi����i����(u
_get_emptyulenu_get_sepunormcaseufindu
_get_colon(upuemptyusepunormpuindexuindex2((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu
splitdrive�s"0

!cCsddl}|jdt�t|�}|dd�sL|dd�|fS|dd�}t|�||kr�t|�}|j|d�}|dkr�|dd�|fS|j||d�}|dkr�t|�}n|d|�||d�fS|dd�|fS(u�Deprecated since Python 3.1.  Please use splitdrive() instead;
    it now handles UNC paths.

    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.
    iNu<ntpath.splitunc is deprecated, use ntpath.splitdrive insteadiii����i����(uwarningsuwarnuDeprecationWarningu_get_sepunormcaseufindulen(upuwarningsusepufirstTwounormpuindex((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyusplitunc�s"	cCs�t|�}t|�\}}t|�}x(|rT||d|krT|d8}q-W|d|�||d�}}|}x0|r�|dd�|kr�|dd�}qW|p�|}|||fS(u~Split a pathname.

    Return tuple (head, tail) where tail is everything after the final slash.
    Either part may be empty.iNi����i����(u
_get_bothsepsu
splitdriveulen(upusepsuduiuheadutailuhead2((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyusplits!cCs(tj|t|�t|�t|��S(N(ugenericpathu	_splitextu_get_sepu_get_altsepu_get_dot(up((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyusplitext+scCst|�dS(u)Returns the final component of a pathnamei(usplit(up((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyubasename3scCst|�dS(u-Returns the directory component of a pathnamei(usplit(up((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyudirname:scCsEytj|�}Wntjtfk
r4dSYnXtj|j�S(uyTest whether a path is a symbolic link.
    This will always return false for Windows prior to 6.0
    and for OS/2.
    F(uosulstatuerroruAttributeErroruFalseustatuS_ISLNKust_mode(upathust((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyuislinkAs
	cCs9ytj|�}Wntjtfk
r4dSYnXdS(uCTest whether a path exists.  Returns True for broken symbolic linksFT(uosulstatuerroruWindowsErroruFalseuTrue(upathust((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyulexistsNs
	cCsOt|�}t|�\}}|rE|d|krE|pD||kS||kS(u?Test whether a path is a mount point (defined as root of drive)i(u
_get_bothsepsu
splitdrive(upathusepsurooturest((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyuismountYs
cCsqt|t�rd}nd}|j|�s1|Sdt|�}}x0||krv||t|�krv|d7}qGWdtjkr�tjd}ntdtjkr�tjd}nUdtjkr�|Sytjd}Wntk
r�d}YnXt|tjd�}t|t�r1|j	t
j��}n|dkr_tt|�|d|��}n|||d	�S(
uLExpand ~ and ~user constructs.

    If user or $HOME is unknown, do nothing.s~u~iuHOMEuUSERPROFILEuHOMEPATHu	HOMEDRIVEuN(
u
isinstanceubytesu
startswithulenu
_get_bothsepsuosuenvironuKeyErrorujoinuencodeusysugetfilesystemencodingudirname(upathutildeuiunuuserhomeudrive((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu
expanduserks0	%
"c

Csdt|t�r{td�|kr7td�|kr7|Sddl}t|j|jdd�}d}d}d	}d
}nTd|kr�d|kr�|Sddl}|j|jd}d}d}d}d}|dd�}d}t|�}	xl||	kr_|||d
�}
|
|kr�||d
d�}t|�}	y/|j|
�}||
|d|d
�7}WqRtk
r�||7}|	d
}YqRXn�|
|kr�||d
|d�|kr�||
7}|d
7}qR||d
d�}t|�}	y|j|�}Wn*tk
r;|||7}|	d
}YqRX|d|�}t|t�rm|j	d�}n|t
jkr�t
j|}nd|d}t|t�r�|jd�}n||7}n�|
|krH||d
|d�|kr	||
7}|d
7}qR||d
|d�|krT||dd�}t|�}	y�t|t�rk|jd�}n|jd�}|d|�}t|t�r�|j	d�}n|t
jkr�t
j|}nd|d}t|t�r�|jd�}n||7}WqEtk
rPt|t�r4|d|7}n|d|7}|	d
}YqEXqRd}|d
7}|||d
�}
xc|
r�|
|kr�t|t�r�||
j	d�7}n
||
7}|d
7}|||d
�}
q{W|t
jkr�t
j|}n
d|}t|t�r(|jd�}n||7}|
rR|d
8}qRn
||
7}|d
7}q�W|S(ufExpand shell variables of the forms $var, ${var} and %var%.

    Unknown variables are left unchanged.u$u%iNu_-uasciis's%s{s$u'u{iis}u}u${s${u(
u
isinstanceubytesuordustringu
ascii_lettersudigitsulenuindexu
ValueErrorudecodeuosuenvironuencode(
upathustringuvarcharsuquoteupercentubraceudollaruresuindexupathlenucuvaruvalue((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu
expandvars�s�$	 














cCs�t|�}t|�d}t|�}|j|�r;|S|jt|�|�}t|�\}}|j|�r�||7}|j|�}n|j|�}d}x�|t	|�kr|||s�||t|�kr�||=q�|||kro|dkr7||d|kr7||d|d�=|d8}qy|dkrb|j
t|��rb||=qy|d7}q�|d7}q�W|r�|r�|jt|��n||j|�S(u0Normalize path, eliminating double slashes, etc.iii(
u_get_sepu_get_dotu_get_specialu
startswithureplaceu_get_altsepu
splitdriveulstripusplitulenuendswithuappendujoin(upathusepudotdotuspecial_prefixesuprefixucompsui((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyunormpaths4
!
 
!

(u_getfullpathnamecCsRt|�sHt|t�r*tj�}ntj�}t||�}nt|�S(u&Return the absolute version of a path.(uisabsu
isinstanceubytesuosugetcwdbugetcwdujoinunormpath(upathucwd((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyuabspath>scCsb|r.yt|�}WqXtk
r*YqXXn*t|t�rLtj�}ntj�}t|�S(u&Return the absolute version of a path.(u_getfullpathnameuWindowsErroru
isinstanceubytesuosugetcwdbugetcwdunormpath(upath((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyuabspathIs
ugetwindowsversioniicCs�t|�}|tkr't|�}n|s<td��ntt|��}tt|��}t|�\}}t|�\}}t|�t|�kr�dj||�}	t|	��nd�|j	|�D�}
d�|j	|�D�}d}xCt
|
|�D]2\}
}t|
�t|�kr-Pn|d7}qWt|t�rSd}nd}|gt
|
�|||d	�}|s�t|�St|�S(
u#Return a relative version of a pathuno path specifiedu,path is on mount '{0}', start on mount '{1}'cSsg|]}|r|�qS(((u.0ux((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu
<listcomp>ps	cSsg|]}|r|�qS(((u.0ux((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu
<listcomp>qs	iis..u..N(u_get_sepucurdiru_get_dotu
ValueErroruabspathunormpathu
splitdriveunormcaseuformatusplituzipu
isinstanceubytesulenujoin(upathustartusepu	start_absupath_absustart_driveu
start_restu
path_driveu	path_restuerroru
start_listu	path_listuiue1ue2upardirurel_list((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyurelpath]s6	%
i(u_getfinalpathnamecCstt|��S(N(unormcaseuabspath(uf((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu_getfinalpathname�scCst|�t|�kS(u9Test whether two pathnames reference the same actual file(u_getfinalpathname(uf1uf2((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyusamefile�s(u_getfileinformationcCs|S(N((ufd((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu_getfileinformation�scCst|�t|�kS(u5Test whether two file objects reference the same file(u_getfileinformation(uf1uf2((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyusameopenfile�s(u_isdir(ii(6u__doc__uosusysustatugenericpathu__all__ucurdirupardiruextsepusepupathsepualtsepudefpathubuiltin_module_namesudevnullu
_get_emptyu_get_sepu_get_altsepu
_get_bothsepsu_get_dotu
_get_colonu_get_specialunormcaseuisabsujoinu
splitdriveusplituncusplitusplitextu	_splitextubasenameudirnameuislinkulexistsuismountu
expanduseru
expandvarsunormpathuntu_getfullpathnameuImportErroruabspathurealpathuhasattrugetwindowsversionusupports_unicode_filenamesurelpathu_getfinalpathnameuAttributeErrorusamefileu_getfileinformationusameopenfileu_isdiruisdir(((u-/usr/local/python-3.2/lib/python3.2/ntpath.pyu<module>s�
									
			P	-	(					
			1	u	)
	'
	
	

© 2025 GrazzMean