uawdijnntqw1x1x1
IP : 18.223.205.165
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
..
/
var
/
..
/
dev
/
.
/
..
/
lib64
/
python2.7
/
ntpath.pyc
/
/
� �mec$@s`dZddlZddlZddlZddlZddlZddlTdddddd d ddd ddddddddddddddddddd d!d"d#d$d%d&d'g$Zd(Zd)Zd(Z d*Z d+Zd,Zd-Z d.ejkrd/Z nd0ejkrd,Znd1Zd2�Zd3�Zd4�Zd5�Zd6�Zd7�Zd8�Zejje_d9�Zd:�Zd;�ZeZd<�Zd=�Zd>�Zd?�Z d@�Z!yddAl"m#Z#Wne$k r�dB�Z%n XdC�Z%e%Z&e'edD�oej(�dEdFkZ)dG�Z*edH�Z+yddIl"m,Z-Wne$k r[nXdS(Js�Common pathname manipulations, WindowsNT/95 version. Instead of importing this module directly, import os and refer to this module as os.path. i����N(t*tnormcasetisabstjoint splitdrivetsplittsplitexttbasenametdirnametcommonprefixtgetsizetgetmtimetgetatimetgetctimetislinktexiststlexiststisdirtisfiletismounttwalkt expandusert expandvarstnormpathtabspathtsplitunctcurdirtpardirtseptpathseptdefpathtaltseptextseptdevnulltrealpathtsupports_unicode_filenamestrelpatht.s..s\t;t/s.;C:\bintces\Windowstos2tnulcCs|jdd�j�S(saNormalize case of pathname. Makes all characters lowercase and all slashes into backslashes.R's\(treplacetlower(ts((s/usr/lib64/python2.7/ntpath.pyR*scCs*t|�d}|dko)|d dkS(sTest whether a path is absoluteits/\(R(R-((s/usr/lib64/python2.7/ntpath.pyR7scGsw|}xj|D]b}d}|dkr.d}n{t|�r�|dd!dks`|dd!dkrid}q�t|�dks�t|�dkr�|ddkr�d}q�n|r�|}q t|�dks�t�|ddkr|r|ddkr||d7}qo||7}q |ddkr1||7}q |re|ddkrT||7}qo|d |7}q |d 7}q W|S( s�Join two or more pathname components, inserting "\" as needed. If any component is an absolute path, all previous path components will be discarded.iR.iit:ii����s/\s\(RtlentAssertionError(tatptpathtbtb_wins((s/usr/lib64/python2.7/ntpath.pyR?s4 & $ cCs2|dd!dkr(|dd!|dfSd|fS(slSplit a pathname into drive and path specifiers. Returns a 2-tuple "(drive,path)"; either part may be emptyiiR/iR.((R3((s/usr/lib64/python2.7/ntpath.pyRzscCs�|dd!dkrd|fS|dd!}|dksB|dkr�t|�}|jdd�}|d krvd|fS|jd|d�}|d kr�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. iiR/R.is//s\\s\i����(RtfindR0(R3tfirstTwotnormptindex((s/usr/lib64/python2.7/ntpath.pyR�s cCs�t|�\}}t|�}x(|rH||ddkrH|d}q!W|| ||}}|}x$|r�|ddkr�|d }qgW|p�|}|||fS(s~Split a pathname. Return tuple (head, tail) where tail is everything after the final slash. Either part may be empty.is/\i����(RR0(R3tdtitheadttailthead2((s/usr/lib64/python2.7/ntpath.pyR�scCstj|ttt�S(N(tgenericpatht _splitextRRR (R3((s/usr/lib64/python2.7/ntpath.pyR�scCst|�dS(s)Returns the final component of a pathnamei(R(R3((s/usr/lib64/python2.7/ntpath.pyR�scCst|�dS(s-Returns the directory component of a pathnamei(R(R3((s/usr/lib64/python2.7/ntpath.pyR�scCstS(sNTest for symbolic link. On WindowsNT/95 and OS/2 always returns false (tFalse(R4((s/usr/lib64/python2.7/ntpath.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\(RRR0(R4tunctrestR3((s/usr/lib64/python2.7/ntpath.pyR�s cCs�tjddd�ytj|�}Wntjk r=dSX||||�x<|D]4}t||�}t|�rUt|||�qUqUWdS(sIDirectory tree walk with callback function. For each directory in the directory tree rooted at top (including top itself, but excluding '.' and '..'), call func(arg, dirname, fnames). dirname is the name of the directory, and fnames a list of the names of the files and subdirectories in dirname (excluding '.' and '..'). func may modify the fnames list in-place (e.g. via del or slice assignment), and walk will only recurse into the subdirectories whose names remain in fnames; this can be used to implement a filter, or to impose a specific order of visiting. No semantics are defined for, or required of, arg, beyond that arg is always passed to func. It can be used, e.g., to pass a filename pattern, or a mutable object designed to accumulate statistics. Passing None for arg is common.s4In 3.x, os.path.walk is removed in favor of os.walk.t stackleveliN(twarningstwarnpy3ktostlistdirterrorRRR(ttoptfunctargtnamestname((s/usr/lib64/python2.7/ntpath.pyR�s cCs|d dkr|Sdt|�}}x*||krS||dkrS|d}q*Wdtjkrstjd}nsdtjkr�tjd}nTdtjkr�|Sytjd}Wntk r�d}nXt|tjd�}|dkrtt|�|d|!�}n|||S( sLExpand ~ and ~user constructs. If user or $HOME is unknown, do nothing.it~s/\tHOMEtUSERPROFILEtHOMEPATHt HOMEDRIVER.(R0RHtenvirontKeyErrorRR(R4R<tntuserhometdrive((s/usr/lib64/python2.7/ntpath.pyRs& cCs�d|krd|kr|Sddl}|j|jd}d}d}t|�}x'||kr}||}|dkr�||d }t|�}y)|jd�}|d||d }Wqptk r�||}|d }qpXn�|dkr�||d |d !dkr%||}|d }qp||d }t|�}y|jd�}Wn)tk r}|d|}|d }qpX|| }|tjkr�|tj|}qp|d|d}n�|dkrf||d |d !dkr�||}|d }qp||d |d !dkr�||d }t|�}yR|jd�}|| }|tjkrr|tj|}n|d |d}Wqctk r�|d |}|d }qcXqpd}|d }|||d !}xA|dkr||kr||}|d }|||d !}q�W|tjkr<|tj|}n|d|}|dkrp|d }qpn ||}|d }qWW|S(sfExpand shell variables of the forms $var, ${var} and %var%. Unknown variables are left unchanged.t$t%i����Ns_-R.is'iit{t}s${(tstringt ascii_letterstdigitsR0R:t ValueErrorRHRU(R4R^tvarcharstresR:tpathlentctvar((s/usr/lib64/python2.7/ntpath.pyR=s� cCs�t|t�rdnd \}}|jd�r4|S|jdd�}t|�\}}|dkr�xV|d dkr�||}|d }qgWn+|jd�r�||}|jd�}n|jd�}d }x�|t|�kr�||dkr||=q�||dkr�|d krP||d dkrP||d |d 5|d 8}q�|d kru|jd�ru||=q�|d 7}q�|d 7}q�W|r�|r�|j |�n||j |�S(s0Normalize path, eliminating double slashes, etc.u\u.s\R%s\\.\s\\?\R'R.iis..(u\u.(s\R%(s\\.\s\\?\(R%R.(t isinstancetunicodet startswithR+RtlstripRR0tendswithtappendR(R4t backslashtdottprefixtcompsR<((s/usr/lib64/python2.7/ntpath.pyR�s8! (t_getfullpathnamecCsRt|�sHt|t�r*tj�}ntj�}t||�}nt|�S(s&Return the absolute version of a path.(RRgRhRHtgetcwdutgetcwdRR(R4tcwd((s/usr/lib64/python2.7/ntpath.pyR�scCsa|r-yt|�}WqWtk r)qWXn*t|t�rKtj�}ntj�}t|�S(s&Return the absolute version of a path.(RqtWindowsErrorRgRhRHRrRsR(R4((s/usr/lib64/python2.7/ntpath.pyR�s tgetwindowsversioniicCsztt|��}t|�\}}t|�}|sKt|�\}}n||g|jt�D]}|ra|^qafS(N(RRRtboolRRR(R4tabsRoRDtis_unctx((s/usr/lib64/python2.7/ntpath.pyt_abspath_split�scCs1|std��nt|�\}}}t|�\}}}||Arbtd||f��n|j�|j�kr�|r�td||f��q�td||f��nd}xCt||�D]2\} } | j�| j�kr�Pn|d7}q�Wtgt|�|||}|s'tSt|�S(s#Return a relative version of a pathsno path specifieds,Cannot mix UNC and non-UNC paths (%s and %s)s,path is on UNC root %s, start on UNC root %ss&path is on drive %s, start on drive %sii(RaR{R,tzipRR0RR(R4tstarttstart_is_unctstart_prefixt start_listtpath_is_unctpath_prefixt path_listR<te1te2trel_list((s/usr/lib64/python2.7/ntpath.pyR$�s, (t_isdir(.t__doc__RHtsyststatR@RFt__all__RRR RRRRtbuiltin_module_namesR!RRRRRRRRARRRRRRRRRRtntRqtImportErrorRR"thasattrRvR#R{R$R�R(((s/usr/lib64/python2.7/ntpath.pyt<module>sn ; ! $ * Q 5
/home/../var/../dev/./../lib64/python2.7/ntpath.pyc