KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.4/os.pyo
mò
‚=5Dc
@s6dZdkZeiZdddddddd	d
dg
Zd„Zd
ejofd
ZdZdkTydkl	Z	Wne
j
onXdkZdkZei
eeƒƒ[n|dejofdZdZdkTydkl	Z	Wne
j
onXdkZdkZei
eeƒƒ[n	dejo™dZdZdkTydkl	Z	Wne
j
onXeiidƒdjo
dkZndkZdklZdkZei
eeƒƒ[ncdejofdZdZdkTydkl	Z	Wne
j
onXdkZdkZei
eeƒƒ[nðdejofdZdZdkTydkl	Z	Wne
j
onXdkZdkZei
eeƒƒ[n}dejofdZdZdkTydkl	Z	Wne
j
onXdkZdkZei
eeƒƒ[n
e
d‚eeid<dklZlZlZl Z l!Z!l"Z"l#Z#l$Z$[dd„Z%d „Z&d!„Z'ei
d"d#d$gƒe(dd%„Z*ei+d&ƒye,Wne-j
o
hZ,nXd'„Z.d(„Z/d)„Z0d*„Z1d+„Z2d,„Z3ei
d-d.d/d0d1d2gƒd3k4l5Z5l6Z6dd4„Z7ye8Wne-j
on’Xdk9Z9ed]jo
d5„Z:nedjod6k;l<Z<nDed^jod7e9i=fd8„ƒYZ<nd7e9i=fd9„ƒYZ<e<e,ƒZ,dd:„Z>ei+d;ƒd<„Z?e?d=ƒo\e?d>ƒoNe?d?ƒoAd@Z@dAZAZBdB„ZCdC„ZDdD„ZEdE„ZFdF„ZGne?d>ƒo/dG„ZHdH„ZIei
d>dIdJdKgƒne?dLƒo/dM„ZJdN„ZKei
dLdOdPdQgƒne?d=ƒo‹e?dRƒp dSddT„ZLei+dRƒne?dUƒp dSddV„ZMei+dUƒne?dWƒp dSddX„ZNei+dWƒq«ndkOZPdY„ZQdZ„ZRyePiSeTeReQƒWne-j
onXd[„ZUd\„ZVyePiSeWeVeUƒWne-j
onXdS(_sOS routines for Mac, DOS, NT, or Posix depending on what system we're on.

This exports:
  - all functions from posix, nt, os2, mac, or ce, e.g. unlink, stat, etc.
  - os.path is one of the modules posixpath, ntpath, or macpath
  - os.name is 'posix', 'nt', 'os2', 'mac', 'ce' or 'riscos'
  - os.curdir is a string representing the current directory ('.' or ':')
  - os.pardir is a string representing the parent directory ('..' or '::')
  - os.sep is the (or a most common) pathname separator ('/' or ':' or '\\')
  - os.extsep is the extension separator ('.' or '/')
  - os.altsep is the alternate pathname separator (None or '/')
  - os.pathsep is the component separator used in $PATH etc
  - os.linesep is the line separator in text files ('\r' or '\n' or '\r\n')
  - os.defpath is the default search path for executables
  - os.devnull is the file path of the null device ('/dev/null', etc.)

Programs that import and use 'os' stand a better chance of being
portable between different platforms.  Of course, they must then
only use functions that are defined by all platforms (e.g., unlink
and opendir), and leave all pathname manipulation to os.path
(e.g., split and join).
NtaltseptcurdirtpardirtseptpathseptlineseptdefpathtnametpathtdevnullcCseyt|iƒSWnMtj
oAg}t|ƒD]"}|ddjo||q3q3~SnXdS(Nit_(tlisttmodulet__all__tAttributeErrort_[1]tdirtn(RRR((t/usr/lib64/python2.4/os.pyt_get_exports_list"stposixs
(t*(s_exittnts
tos2sEMX GCCiÿÿÿÿ(slinktmacs
tcetriscossno os specific module foundsos.path(scurdirspardirssepspathsepsdefpathsextsepsaltsepsdevnulliÿcCs‹ti|ƒ\}}|pti|ƒ\}}n|o>|o7ti|ƒo&t||ƒ|tjodSqznt	||ƒdS(smakedirs(path [, mode=0777])

    Super-mkdir; create a leaf directory and all intermediate ones.
    Works like mkdir, except that any intermediate path segment (not
    just the rightmost) will be created if it does not exist.  This is
    recursive.

    N(
RtsplitRtheadttailtexiststmakedirstmodeRtmkdir(RR RR((RRs

cCs“t|ƒti|ƒ\}}|pti|ƒ\}}nxM|oE|o>yt|ƒWntj
oPnXti|ƒ\}}qBWdS(s¬removedirs(path)

    Super-rmdir; remove a leaf directory and empty all intermediate
    ones.  Works like rmdir except that, if the leaf directory is
    successfully removed, directories corresponding to rightmost path
    segments will be pruned away until either the whole path is
    consumed or an error occurs.  Errors during this latter phase are
    ignored -- they generally mean that a directory was not empty.

    N(trmdirRRRRRterror(RRR((Rt
removedirs¡s

cCsžti|ƒ\}}|o&|oti|ƒot|ƒnt||ƒti|ƒ\}}|o/|o(yt	|ƒWqšt
j
oqšXndS(s@renames(old, new)

    Super-rename; create directories as necessary and delete any left
    empty.  Works like rename, except creation of any intermediate
    directories needed to make the new pathname good is attempted
    first.  After the rename, directories corresponding to rightmost
    path segments of the old name will be pruned way until either the
    whole path is consumed or a nonempty directory is found.

    Note: this function can fail with the new directory structure made
    if you lack permissions needed to unlink the leaf directory or
    file.

    N(RRtnewRRRRtrenametoldR$R#(R'R%RR((Rtrenames·s
RR$R(c
cs8dkl}l}l}yt|ƒ}	Wn4tj
o(}|dj	o||ƒndSnXgg}}xB|	D]:}||||ƒƒo|i|ƒqt|i|ƒqtW|o|||fVnxO|D]G}|||ƒ}
||
ƒp%x"t|
||ƒD]
}|VqWqÑqÑW|p|||fVndS(se	Directory tree generator.

    For each directory in the directory tree rooted at top (including top
    itself, but excluding '.' and '..'), yields a 3-tuple

        dirpath, dirnames, filenames

    dirpath is a string, the path to the directory.  dirnames is a list of
    the names of the subdirectories in dirpath (excluding '.' and '..').
    filenames is a list of the names of the non-directory files in dirpath.
    Note that the names in the lists are just names, with no path components.
    To get a full path (which begins with top) to a file or directory in
    dirpath, do os.path.join(dirpath, name).

    If optional arg 'topdown' is true or not specified, the triple for a
    directory is generated before the triples for any of its subdirectories
    (directories are generated top down).  If topdown is false, the triple
    for a directory is generated after the triples for all of its
    subdirectories (directories are generated bottom up).

    When topdown is true, the caller can modify the dirnames list in-place
    (e.g., via del or slice assignment), and walk will only recurse into the
    subdirectories whose names remain in dirnames; this can be used to prune
    the search, or to impose a specific order of visiting.  Modifying
    dirnames when topdown is false is ineffective, since the directories in
    dirnames have already been generated by the time dirnames itself is
    generated.

    By default errors from the os.listdir() call are ignored.  If
    optional arg 'onerror' is specified, it should be a function; it
    will be called with one argument, an os.error instance.  It can
    report the error to continue with the walk, or raise the exception
    to abort the walk.  Note that the filename is available as the
    filename attribute of the exception object.

    Caution:  if you pass a relative pathname for top, don't change the
    current working directory between resumptions of walk.  walk never
    changes the current directory, and assumes that the client doesn't
    either.

    Example:

    from os.path import join, getsize
    for root, dirs, files in walk('python/Lib/email'):
        print root, "consumes",
        print sum([getsize(join(root, name)) for name in files]),
        print "bytes in", len(files), "non-directory files"
        if 'CVS' in dirs:
            dirs.remove('CVS')  # don't visit CVS directories
    (sjoinsisdirsislinkN(tos.pathtjointisdirtislinktlistdirttoptnamesR#terrtonerrortNonetdirstnondirsRtappendttopdownRtwalktx(
R.R6R1R+R3R*R4R0R8R/RR,R((RR7Ós22
	

R7cGst||ƒdS(spexecl(file, *args)

    Execute the executable file with argument list args, replacing the
    current process. N(texecvtfiletargs(R:R;((Rtexecl0scGs"|d}t||d |ƒdS(sŠexecle(file, *args, env)

    Execute the executable file with argument list args and
    environment env, replacing the current process. iÿÿÿÿN(R;tenvtexecveR:(R:R;R=((Rtexecle7s
cGst||ƒdS(s•execlp(file, *args)

    Execute the executable file (which is searched for along $PATH)
    with argument list args, replacing the current process. N(texecvpR:R;(R:R;((Rtexeclp?scGs"|d}t||d |ƒdS(s³execlpe(file, *args, env)

    Execute the executable file (which is searched for along $PATH)
    with argument list args and environment env, replacing the current
    process. iÿÿÿÿN(R;R=texecvpeR:(R:R;R=((RtexeclpeFs
cCst||ƒdS(s¿execp(file, args)

    Execute the executable file (which is searched for along $PATH)
    with argument list args, replacing the current process.
    args may be a list or tuple of strings. N(t_execvpeR:R;(R:R;((RR@OscCst|||ƒdS(sßexecvpe(file, args, env)

    Execute the executable file (which is searched for along $PATH)
    with argument list args and environment env , replacing the
    current process.
    args may be a list or tuple of strings. N(RDR:R;R=(R:R;R=((RRBWsR<R?RARCR@RB(sENOENTsENOTDIRcCse|dj	ot}	||f}nt}	|f}t}ti	|ƒ\}}|o|	||ŒdSnd|jo|d}nt}|i	tƒ}d}d}x–|D]Ž}ti||ƒ}
y|	|
|ŒWq¬tj
oV}
tiƒd}|
itjo-|
itjo|djo|
}|}q:q¬Xq¬W|ot||‚nt|
|‚dS(NtPATHi(R=R2R>tfuncR;targrestR9tenvironRRR:RRtenvpathRRREt	saved_exctsaved_tbRR*tfullnameR#tetsystexc_infottbterrnotENOENTtENOTDIR(R:R;R=RRERGRRPRIRFRMRKRJRLR((RRDcs:
	

-cCst|dƒdS(Nt(tputenvtkey(RV((Rtunsetenv”s(s_Environt_EnvironcBs†tZd„Zd„Zd„ZyeWnej
od„ZnXd„Zd„Zd„Z	dd„Zdd	„Zd
„Z
RS(NcCsJtii|ƒ|i}x*|iƒD]\}}|||iƒ<q&WdS(N(	tUserDictt__init__tselftdataRHtitemstktvtupper(R[RHR_R\R^((RRZs
	
cCs$t||ƒ||i|iƒ<dS(N(RURVtitemR[R\R`(R[RVRa((Rt__setitem__¢s
cCs|i|iƒS(N(R[R\RVR`(R[RV((Rt__getitem__¥scCs|i|iƒ=dS(N(R[R\RVR`(R[RV((Rt__delitem__ªscCst|ƒ|i|iƒ=dS(N(RWRVR[R\R`(R[RV((RRd­s
cCs|iƒ|ijS(N(RVR`R[R\(R[RV((Rthas_key°scCs|iƒ|ijS(N(RVR`R[R\(R[RV((Rt__contains__²scCs|ii|iƒ|ƒS(N(R[R\tgetRVR`tfailobj(R[RVRh((RRg´scKs|ojy|iƒ}Wn4tj
o(xB|D]\}}|||<q/WqqXx |D]}||||<qUWn|o|i|ƒndS(N(tdicttkeysRR^R_R[tkwargstupdate(R[RiRkRjR_R^((RRl¶scCs
t|ƒS(N(RiR[(R[((RtcopyÆs(t__name__t
__module__RZRbRcRWt	NameErrorRdReRfR2RgRlRm(((RRXœs						cBsVtZd„Zd„Zdd„ZyeWnej
onXd„Zd„Z	RS(NcCstii|ƒ||_dS(N(RYRZR[RHR\(R[RH((RRZËscCst||ƒ||i|<dS(N(RURVRaR[R\(R[RVRa((RRbÎs
cKs|ojy|iƒ}Wn4tj
o(xB|D]\}}|||<q/WqqXx |D]}||||<qUWn|o|i|ƒndS(N(RiRjRR^R_R[RkRl(R[RiRkRjR_R^((RRlÑscCst|ƒ|i|=dS(N(RWRVR[R\(R[RV((RRdæs
cCs
t|ƒS(N(RiR[(R[((RRmés(
RnRoRZRbR2RlRWRpRdRm(((RRXÊs			cCsti||ƒS(s€Get an environment variable, return None if it doesn't exist.
    The optional second argument can specify an alternate default.N(RHRgRVtdefault(RVRq((RtgetenvïsRrcCs0yt|ƒtSWntj
otSnXdS(N(tevalRtTrueRptFalse(R((Rt_existsõs

tforktspawnvR9iicCsätƒ}|pJy2|djo|||ƒn||||ƒWqàtdƒqàXn‡|t	jo|Snxnt
|dƒ\}}t
|ƒoqrqrt|ƒot|ƒSqrt|ƒot|ƒSqrtd‚qrWdS(Niiis"Not stopped, signaled or exited???(RwtpidR=R2RFR:R;t_exitR tP_NOWAITtwaitpidtwpidtstst
WIFSTOPPEDtWIFSIGNALEDtWTERMSIGt	WIFEXITEDtWEXITSTATUSR#(R R:R;R=RFRyR}R~((Rt	_spawnvefs(	




cCst|||dtƒS(sspawnv(mode, file, args) -> integer

Execute file with arguments from args in a subprocess.
If mode == P_NOWAIT return the pid of the process.
If mode == P_WAIT return the process's exit code if it exits normally;
otherwise return -SIG, where SIG is the signal that killed it. N(R„R R:R;R2R9(R R:R;((RRx!scCst||||tƒS(s:spawnve(mode, file, args, env) -> integer

Execute file with arguments from args in a subprocess with the
specified environment.
If mode == P_NOWAIT return the pid of the process.
If mode == P_WAIT return the process's exit code if it exits normally;
otherwise return -SIG, where SIG is the signal that killed it. N(R„R R:R;R=R>(R R:R;R=((Rtspawnve*scCst|||dtƒS(s8spawnvp(mode, file, args) -> integer

Execute file (which is looked for along $PATH) with arguments from
args in a subprocess.
If mode == P_NOWAIT return the pid of the process.
If mode == P_WAIT return the process's exit code if it exits normally;
otherwise return -SIG, where SIG is the signal that killed it. N(R„R R:R;R2R@(R R:R;((Rtspawnvp6scCst||||tƒS(s\spawnvpe(mode, file, args, env) -> integer

Execute file (which is looked for along $PATH) with arguments from
args in a subprocess with the supplied environment.
If mode == P_NOWAIT return the pid of the process.
If mode == P_WAIT return the process's exit code if it exits normally;
otherwise return -SIG, where SIG is the signal that killed it. N(R„R R:R;R=RB(R R:R;R=((Rtspawnvpe@scGst|||ƒS(sspawnl(mode, file, *args) -> integer

Execute file with arguments from args in a subprocess.
If mode == P_NOWAIT return the pid of the process.
If mode == P_WAIT return the process's exit code if it exits normally;
otherwise return -SIG, where SIG is the signal that killed it. N(RxR R:R;(R R:R;((RtspawnlNscGs!|d}t|||d |ƒS(s:spawnle(mode, file, *args, env) -> integer

Execute file with arguments from args in a subprocess with the
supplied environment.
If mode == P_NOWAIT return the pid of the process.
If mode == P_WAIT return the process's exit code if it exits normally;
otherwise return -SIG, where SIG is the signal that killed it. iÿÿÿÿN(R;R=R…R R:(R R:R;R=((RtspawnleWs
R…RˆR‰R†cGst|||ƒS(sWspawnlp(mode, file, *args) -> integer

Execute file (which is looked for along $PATH) with arguments from
args in a subprocess with the supplied environment.
If mode == P_NOWAIT return the pid of the process.
If mode == P_WAIT return the process's exit code if it exits normally;
otherwise return -SIG, where SIG is the signal that killed it. N(R†R R:R;(R R:R;((RtspawnlpiscGs!|d}t|||d |ƒS(s]spawnlpe(mode, file, *args, env) -> integer

Execute file (which is looked for along $PATH) with arguments from
args in a subprocess with the supplied environment.
If mode == P_NOWAIT return the pid of the process.
If mode == P_WAIT return the process's exit code if it exits normally;
otherwise return -SIG, where SIG is the signal that killed it. iÿÿÿÿN(R;R=R‡R R:(R R:R;R=((Rtspawnlpess
R‡RŠR‹tpopen2ttcCs+dk}|i||ƒ\}}||fS(sÏExecute the shell command 'cmd' in a sub-process.  On UNIX, 'cmd'
            may be a sequence, in which case arguments will be passed directly to
            the program without shell intervention (as with os.spawnv()).  If 'cmd'
            is a string it will be passed to the shell (as with os.system()). If
            'bufsize' is specified, it sets the buffer size for the I/O pipes.  The
            file objects (child_stdin, child_stdout) are returned.N(RŒtcmdtbufsizetstdouttstdin(RŽR RR‘RRŒ((RRŒ…s	tpopen3cCs1dk}|i||ƒ\}}}|||fS(sÝExecute the shell command 'cmd' in a sub-process.  On UNIX, 'cmd'
            may be a sequence, in which case arguments will be passed directly to
            the program without shell intervention (as with os.spawnv()).  If 'cmd'
            is a string it will be passed to the shell (as with os.system()). If
            'bufsize' is specified, it sets the buffer size for the I/O pipes.  The
            file objects (child_stdin, child_stdout, child_stderr) are returned.N(RŒR’RŽRRR‘tstderr(RŽR RR‘RRŒR“((RR’’s	tpopen4cCs+dk}|i||ƒ\}}||fS(sÖExecute the shell command 'cmd' in a sub-process.  On UNIX, 'cmd'
            may be a sequence, in which case arguments will be passed directly to
            the program without shell intervention (as with os.spawnv()).  If 'cmd'
            is a string it will be passed to the shell (as with os.system()). If
            'bufsize' is specified, it sets the buffer size for the I/O pipes.  The
            file objects (child_stdin, child_stdout_stderr) are returned.N(RŒR”RŽRRR‘(RŽR RR‘RRŒ((RR”Ÿs	cCs
t||ƒS(N(tstat_resultttupRi(R–Ri((Rt_make_stat_result­scCs|iƒ\}}t|fS(N(tsrt
__reduce__ttypeR;R—(R˜R;Rš((Rt_pickle_stat_result°scCs
t||ƒS(N(tstatvfs_resultR–Ri(R–Ri((Rt_make_statvfs_result¹scCs|iƒ\}}t|fS(N(R˜R™RšR;R(R˜R;Rš((Rt_pickle_statvfs_result¼s(sos2snt(sos2snt(Xt__doc__RNtbuiltin_module_namest_namesR
RRRRRztImportErrort	posixpathRtextendRtntpathRtversiontfindt
os2emxpatht	_emx_linktlinkRtmacpathRRt
riscospathtmodulesR)RRRRRtextsepRR	RR$R(RtR2R7R5RHRpR<R?RARCR@RBRQRRRSRDRURYRWt
riscosenvironRXtIterableUserDictRrRvtP_WAITR{t	P_NOWAITOR„RxR…R†R‡RˆR‰RŠR‹RŒR’R”tcopy_regt	_copy_regR—R›tpickleR•RRžRœ(>RRŒRRRSR?R’RR7RRRŠRARHR†R›RvRˆR
R@RRRRRXRDRR…R	RR”R±RxR¡RBRWRYRRrRNRRªRRRR„R‰R<R—RR(R‹RR²R´RR{R$RžR®RzR‡RC((Rt?s<		$	
		
		

	
	
		
		
			
7		U
								$	



.#
	(
					


			
	
	






					

Anon7 - 2021