• File: genericpath.pyo
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/lib64/python2.7/genericpath.pyo
  • Date Modified: 10/26/2026 8:10 PM
  • File size: 3.57 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

jc@sdZddlZddlZddddddd	d
gZy
eZWn'ek
rodefdYZnXd
ZdZ	dZ
dZdZdZ
dZdZdZdS(s
Path operations common to more than one OS
Do not use directly.  The OS specific modules import the appropriate
functions from this module themselves.
iNtcommonprefixtexiststgetatimetgetctimetgetmtimetgetsizetisdirtisfilet_unicodecBseZRS((t__name__t
__module__(((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRscCs-ytj|Wntjk
r(tSXtS(sDTest whether a path exists.  Returns False for broken symbolic links(toststatterrortFalsetTrue(tpath((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRs
cCs;ytj|}Wntjk
r*tSXtj|jS(s%Test whether a path is a regular file(RRR
RtS_ISREGtst_mode(Rtst((s0/opt/alt/python27/lib64/python2.7/genericpath.pyR"s
cCs;ytj|}Wntjk
r*tSXtj|jS(s<Return true if the pathname refers to an existing directory.(RRR
RtS_ISDIRR(tsR((s0/opt/alt/python27/lib64/python2.7/genericpath.pyR.s
cCstj|jS(s1Return the size of a file, reported by os.stat().(RRtst_size(tfilename((s0/opt/alt/python27/lib64/python2.7/genericpath.pyR7scCstj|jS(sCReturn the last modification time of a file, reported by os.stat().(RRtst_mtime(R((s0/opt/alt/python27/lib64/python2.7/genericpath.pyR<scCstj|jS(s=Return the last access time of a file, reported by os.stat().(RRtst_atime(R((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRAscCstj|jS(sAReturn the metadata change time of a file, reported by os.stat().(RRtst_ctime(R((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRFscCs[|s
dSt|}t|}x2t|D]$\}}|||kr/|| Sq/W|S(sGGiven a list of pathnames, returns the longest common leading componentt(tmintmaxt	enumerate(tmts1ts2titc((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRLscCs|j|}|r6|j|}t||}n|j|}||kr|d}x?||kr|||kr|| ||fS|d7}q^Wn|dfS(sSplit the extension from a pathname.

    Extension is everything from the last dot to the end, ignoring
    leading dots.  Returns "(root, ext)"; ext may be empty.iR(trfindR(tptseptaltseptextseptsepIndextaltsepIndextdotIndext
filenameIndex((s0/opt/alt/python27/lib64/python2.7/genericpath.pyt	_splitext]s
(t__doc__RRt__all__tunicodeRt	NameErrortobjectRRRRRRRRR-(((s0/opt/alt/python27/lib64/python2.7/genericpath.pyt<module>s"