/opt/alt/python33/lib64/python3.3/__pycache__
NameSizeModeActions
abc.cpython-33.pyc96150644editdlrm
abc.cpython-33.pyo95490644editdlrm
aifc.cpython-33.pyc361160644editdlrm
aifc.cpython-33.pyo361160644editdlrm
antigravity.cpython-33.pyc10690644editdlrm
antigravity.cpython-33.pyo10690644editdlrm
argparse.cpython-33.pyc940130644editdlrm
argparse.cpython-33.pyo938200644editdlrm
ast.cpython-33.pyc153870644editdlrm
ast.cpython-33.pyo153870644editdlrm
asynchat.cpython-33.pyc113410644editdlrm
asynchat.cpython-33.pyo113410644editdlrm
asyncore.cpython-33.pyc254730644editdlrm
asyncore.cpython-33.pyo254730644editdlrm
base64.cpython-33.pyc154590644editdlrm
base64.cpython-33.pyo151980644editdlrm
bdb.cpython-33.pyc260120644editdlrm
bdb.cpython-33.pyo260120644editdlrm
binhex.cpython-33.pyc191020644editdlrm
binhex.cpython-33.pyo191020644editdlrm
bisect.cpython-33.pyc33680644editdlrm
bisect.cpython-33.pyo33680644editdlrm
bz2.cpython-33.pyc192120644editdlrm
bz2.cpython-33.pyo192120644editdlrm
calendar.cpython-33.pyc387950644editdlrm
calendar.cpython-33.pyo387950644editdlrm
cgi.cpython-33.pyc369260644editdlrm
cgi.cpython-33.pyo369260644editdlrm
cgitb.cpython-33.pyc137890644editdlrm
cgitb.cpython-33.pyo137890644editdlrm
chunk.cpython-33.pyc64220644editdlrm
chunk.cpython-33.pyo64220644editdlrm
cmd.cpython-33.pyc160740644editdlrm
cmd.cpython-33.pyo160740644editdlrm
code.cpython-33.pyc117330644editdlrm
code.cpython-33.pyo117330644editdlrm
codecs.cpython-33.pyc464380644editdlrm
codecs.cpython-33.pyo464380644editdlrm
codeop.cpython-33.pyc76810644editdlrm
codeop.cpython-33.pyo76810644editdlrm
colorsys.cpython-33.pyc43710644editdlrm
colorsys.cpython-33.pyo43710644editdlrm
compileall.cpython-33.pyc87870644editdlrm
compileall.cpython-33.pyo87870644editdlrm
configparser.cpython-33.pyc608840644editdlrm
configparser.cpython-33.pyo608840644editdlrm
contextlib.cpython-33.pyc115140644editdlrm
contextlib.cpython-33.pyo115140644editdlrm
copy.cpython-33.pyc100400644editdlrm
copy.cpython-33.pyo99480644editdlrm
copyreg.cpython-33.pyc57480644editdlrm
copyreg.cpython-33.pyo57040644editdlrm
cProfile.cpython-33.pyc70830644editdlrm
cProfile.cpython-33.pyo70830644editdlrm
crypt.cpython-33.pyc30780644editdlrm
crypt.cpython-33.pyo30780644editdlrm
csv.cpython-33.pyc178400644editdlrm
csv.cpython-33.pyo178400644editdlrm
datetime.cpython-33.pyc780030644editdlrm
datetime.cpython-33.pyo756790644editdlrm
decimal.cpython-33.pyc2127810644editdlrm
decimal.cpython-33.pyo2127810644editdlrm
difflib.cpython-33.pyc698400644editdlrm
difflib.cpython-33.pyo697890644editdlrm
dis.cpython-33.pyc112330644editdlrm
dis.cpython-33.pyo112330644editdlrm
doctest.cpython-33.pyc985250644editdlrm
doctest.cpython-33.pyo981630644editdlrm
dummy_threading.cpython-33.pyc13630644editdlrm
dummy_threading.cpython-33.pyo13630644editdlrm
filecmp.cpython-33.pyc113310644editdlrm
filecmp.cpython-33.pyo113310644editdlrm
fileinput.cpython-33.pyc177440644editdlrm
fileinput.cpython-33.pyo177440644editdlrm
fnmatch.cpython-33.pyc38210644editdlrm
fnmatch.cpython-33.pyo38210644editdlrm
formatter.cpython-33.pyc274240644editdlrm
formatter.cpython-33.pyo274240644editdlrm
fractions.cpython-33.pyc242130644editdlrm
fractions.cpython-33.pyo242130644editdlrm
ftplib.cpython-33.pyc450290644editdlrm
ftplib.cpython-33.pyo450290644editdlrm
functools.cpython-33.pyc158210644editdlrm
functools.cpython-33.pyo158210644editdlrm
genericpath.cpython-33.pyc37650644editdlrm
genericpath.cpython-33.pyo37650644editdlrm
getopt.cpython-33.pyc81130644editdlrm
getopt.cpython-33.pyo80680644editdlrm
getpass.cpython-33.pyc55560644editdlrm
getpass.cpython-33.pyo55560644editdlrm
gettext.cpython-33.pyc209130644editdlrm
gettext.cpython-33.pyo209130644editdlrm
glob.cpython-33.pyc32930644editdlrm
glob.cpython-33.pyo32930644editdlrm
gzip.cpython-33.pyc248760644editdlrm
gzip.cpython-33.pyo248160644editdlrm
hashlib.cpython-33.pyc62060644editdlrm
hashlib.cpython-33.pyo62060644editdlrm
heapq.cpython-33.pyc162350644editdlrm
heapq.cpython-33.pyo162350644editdlrm
hmac.cpython-33.pyc58170644editdlrm
hmac.cpython-33.pyo58170644editdlrm
imaplib.cpython-33.pyc569950644editdlrm
imaplib.cpython-33.pyo537260644editdlrm
imghdr.cpython-33.pyc55300644editdlrm
imghdr.cpython-33.pyo55300644editdlrm
imp.cpython-33.pyc125770644editdlrm
imp.cpython-33.pyo125770644editdlrm
inspect.cpython-33.pyc817110644editdlrm
inspect.cpython-33.pyo817110644editdlrm
io.cpython-33.pyc42830644editdlrm
io.cpython-33.pyo42830644editdlrm
ipaddress.cpython-33.pyc817980644editdlrm
ipaddress.cpython-33.pyo817980644editdlrm
keyword.cpython-33.pyc22100644editdlrm
keyword.cpython-33.pyo22100644editdlrm
linecache.cpython-33.pyc38700644editdlrm
linecache.cpython-33.pyo38700644editdlrm
locale.cpython-33.pyc538620644editdlrm
locale.cpython-33.pyo538620644editdlrm
lzma.cpython-33.pyc186630644editdlrm
lzma.cpython-33.pyo186630644editdlrm
macpath.cpython-33.pyc80210644editdlrm
macpath.cpython-33.pyo80210644editdlrm
macurl2path.cpython-33.pyc25610644editdlrm
macurl2path.cpython-33.pyo25610644editdlrm
mailbox.cpython-33.pyc992890644editdlrm
mailbox.cpython-33.pyo991500644editdlrm
mailcap.cpython-33.pyc81150644editdlrm
mailcap.cpython-33.pyo81150644editdlrm
mimetypes.cpython-33.pyc202480644editdlrm
mimetypes.cpython-33.pyo202480644editdlrm
modulefinder.cpython-33.pyc228520644editdlrm
modulefinder.cpython-33.pyo227700644editdlrm
netrc.cpython-33.pyc55220644editdlrm
netrc.cpython-33.pyo55220644editdlrm
nntplib.cpython-33.pyc469840644editdlrm
nntplib.cpython-33.pyo469840644editdlrm
ntpath.cpython-33.pyc176360644editdlrm
ntpath.cpython-33.pyo176360644editdlrm
nturl2path.cpython-33.pyc20830644editdlrm
nturl2path.cpython-33.pyo20830644editdlrm
numbers.cpython-33.pyc188590644editdlrm
numbers.cpython-33.pyo188590644editdlrm
opcode.cpython-33.pyc59710644editdlrm
opcode.cpython-33.pyo59710644editdlrm
optparse.cpython-33.pyc707610644editdlrm
optparse.cpython-33.pyo706780644editdlrm
os.cpython-33.pyc384310644editdlrm
os.cpython-33.pyo384310644editdlrm
os2emxpath.cpython-33.pyc52380644editdlrm
os2emxpath.cpython-33.pyo52380644editdlrm
pdb.cpython-33.pyc629640644editdlrm
pdb.cpython-33.pyo628920644editdlrm
pickle.cpython-33.pyc531300644editdlrm
pickle.cpython-33.pyo528970644editdlrm
pickletools.cpython-33.pyc675040644editdlrm
pickletools.cpython-33.pyo663350644editdlrm
pipes.cpython-33.pyc101470644editdlrm
pipes.cpython-33.pyo101470644editdlrm
pkgutil.cpython-33.pyc233760644editdlrm
pkgutil.cpython-33.pyo233760644editdlrm
platform.cpython-33.pyc404530644editdlrm
platform.cpython-33.pyo404530644editdlrm
plistlib.cpython-33.pyc235430644editdlrm
plistlib.cpython-33.pyo234490644editdlrm
poplib.cpython-33.pyc146030644editdlrm
poplib.cpython-33.pyo146030644editdlrm
posixpath.cpython-33.pyc136890644editdlrm
posixpath.cpython-33.pyo136890644editdlrm
pprint.cpython-33.pyc133000644editdlrm
pprint.cpython-33.pyo131230644editdlrm
profile.cpython-33.pyc187800644editdlrm
profile.cpython-33.pyo184890644editdlrm
pstats.cpython-33.pyc323010644editdlrm
pstats.cpython-33.pyo323010644editdlrm
pty.cpython-33.pyc57950644editdlrm
pty.cpython-33.pyo57950644editdlrm
pyclbr.cpython-33.pyc110450644editdlrm
pyclbr.cpython-33.pyo110450644editdlrm
pydoc.cpython-33.pyc1225580644editdlrm
pydoc.cpython-33.pyo1224800644editdlrm
py_compile.cpython-33.pyc76990644editdlrm
py_compile.cpython-33.pyo76990644editdlrm
queue.cpython-33.pyc120380644editdlrm
queue.cpython-33.pyo120380644editdlrm
quopri.cpython-33.pyc79970644editdlrm
quopri.cpython-33.pyo76870644editdlrm
random.cpython-33.pyc237740644editdlrm
random.cpython-33.pyo237740644editdlrm
re.cpython-33.pyc164520644editdlrm
re.cpython-33.pyo164520644editdlrm
reprlib.cpython-33.pyc83140644editdlrm
reprlib.cpython-33.pyo83140644editdlrm
rlcompleter.cpython-33.pyc64760644editdlrm
rlcompleter.cpython-33.pyo64760644editdlrm
runpy.cpython-33.pyc104850644editdlrm
runpy.cpython-33.pyo104850644editdlrm
sched.cpython-33.pyc82470644editdlrm
sched.cpython-33.pyo82470644editdlrm
shelve.cpython-33.pyc127620644editdlrm
shelve.cpython-33.pyo127620644editdlrm
shlex.cpython-33.pyc93940644editdlrm
shlex.cpython-33.pyo93940644editdlrm
shutil.cpython-33.pyc413740644editdlrm
shutil.cpython-33.pyo413740644editdlrm
site.cpython-33.pyc255970644editdlrm
site.cpython-33.pyo255970644editdlrm
smtpd.cpython-33.pyc343270644editdlrm
smtpd.cpython-33.pyo343270644editdlrm
smtplib.cpython-33.pyc411750644editdlrm
smtplib.cpython-33.pyo410810644editdlrm
sndhdr.cpython-33.pyc85480644editdlrm
sndhdr.cpython-33.pyo85480644editdlrm
socket.cpython-33.pyc184350644editdlrm
socket.cpython-33.pyo183820644editdlrm
socketserver.cpython-33.pyc313750644editdlrm
socketserver.cpython-33.pyo313750644editdlrm
sre_compile.cpython-33.pyc123190644editdlrm
sre_compile.cpython-33.pyo121380644editdlrm
sre_constants.cpython-33.pyc64920644editdlrm
sre_constants.cpython-33.pyo64920644editdlrm
sre_parse.cpython-33.pyc255610644editdlrm
sre_parse.cpython-33.pyo255610644editdlrm
ssl.cpython-33.pyc282640644editdlrm
ssl.cpython-33.pyo282640644editdlrm
stat.cpython-33.pyc45830644editdlrm
stat.cpython-33.pyo45830644editdlrm
string.cpython-33.pyc103350644editdlrm
string.cpython-33.pyo103350644editdlrm
stringprep.cpython-33.pyc161030644editdlrm
stringprep.cpython-33.pyo160310644editdlrm
struct.cpython-33.pyc4070644editdlrm
struct.cpython-33.pyo4070644editdlrm
subprocess.cpython-33.pyc559780644editdlrm
subprocess.cpython-33.pyo558450644editdlrm
sunau.cpython-33.pyc236770644editdlrm
sunau.cpython-33.pyo236770644editdlrm
symbol.cpython-33.pyc30490644editdlrm
symbol.cpython-33.pyo30490644editdlrm
symtable.cpython-33.pyc173490644editdlrm
symtable.cpython-33.pyo172120644editdlrm
sysconfig.cpython-33.pyc223060644editdlrm
sysconfig.cpython-33.pyo223060644editdlrm
tabnanny.cpython-33.pyc101820644editdlrm
tabnanny.cpython-33.pyo101820644editdlrm
tarfile.cpython-33.pyc881300644editdlrm
tarfile.cpython-33.pyo881300644editdlrm
telnetlib.cpython-33.pyc271230644editdlrm
telnetlib.cpython-33.pyo271230644editdlrm
tempfile.cpython-33.pyc308500644editdlrm
tempfile.cpython-33.pyo308500644editdlrm
textwrap.cpython-33.pyc141750644editdlrm
textwrap.cpython-33.pyo140830644editdlrm
this.cpython-33.pyc14290644editdlrm
this.cpython-33.pyo14290644editdlrm
threading.cpython-33.pyc496310644editdlrm
threading.cpython-33.pyo487700644editdlrm
timeit.cpython-33.pyc136170644editdlrm
timeit.cpython-33.pyo136170644editdlrm
token.cpython-33.pyc43970644editdlrm
token.cpython-33.pyo43970644editdlrm
tokenize.cpython-33.pyc246200644editdlrm
tokenize.cpython-33.pyo245640644editdlrm
trace.cpython-33.pyc316190644editdlrm
trace.cpython-33.pyo315560644editdlrm
traceback.cpython-33.pyc145130644editdlrm
traceback.cpython-33.pyo145130644editdlrm
tty.cpython-33.pyc14790644editdlrm
tty.cpython-33.pyo14790644editdlrm
types.cpython-33.pyc37690644editdlrm
types.cpython-33.pyo37690644editdlrm
uu.cpython-33.pyc48760644editdlrm
uu.cpython-33.pyo48760644editdlrm
uuid.cpython-33.pyc259170644editdlrm
uuid.cpython-33.pyo258390644editdlrm
warnings.cpython-33.pyc158380644editdlrm
warnings.cpython-33.pyo148810644editdlrm
wave.cpython-33.pyc250250644editdlrm
wave.cpython-33.pyo248170644editdlrm
weakref.cpython-33.pyc184420644editdlrm
weakref.cpython-33.pyo184420644editdlrm
webbrowser.cpython-33.pyc261110644editdlrm
webbrowser.cpython-33.pyo260660644editdlrm
xdrlib.cpython-33.pyc125230644editdlrm
xdrlib.cpython-33.pyo125230644editdlrm
zipfile.cpython-33.pyc590100644editdlrm
zipfile.cpython-33.pyo589450644editdlrm
_compat_pickle.cpython-33.pyc55060644editdlrm
_compat_pickle.cpython-33.pyo55060644editdlrm
_dummy_thread.cpython-33.pyc60490644editdlrm
_dummy_thread.cpython-33.pyo60490644editdlrm
_markupbase.cpython-33.pyc114560644editdlrm
_markupbase.cpython-33.pyo112400644editdlrm
_osx_support.cpython-33.pyc138340644editdlrm
_osx_support.cpython-33.pyo138340644editdlrm
_pyio.cpython-33.pyc853190644editdlrm
_pyio.cpython-33.pyo852930644editdlrm
_strptime.cpython-33.pyc196490644editdlrm
_strptime.cpython-33.pyo196490644editdlrm
_sysconfigdata.cpython-33.pyc236720644editdlrm
_sysconfigdata.cpython-33.pyo236720644editdlrm
_threading_local.cpython-33.pyc87250644editdlrm
_threading_local.cpython-33.pyo87250644editdlrm
_weakrefset.cpython-33.pyc133080644editdlrm
_weakrefset.cpython-33.pyo133080644editdlrm
__future__.cpython-33.pyc50110644editdlrm
__future__.cpython-33.pyo50110644editdlrm
__phello__.cpython-33.pyc1460644editdlrm
__phello__.cpython-33.pyo1460644editdlrm
Edit: /opt/alt/python33/lib64/python3.3/__pycache__/os.cpython-33.pyo (38431B)
fۇc@@s dZddlZddlZddlZejZddddddd d d d d ddddddddgZddZddZ dekrdZ dZ ddl Ty!ddl m Z ejdWnek rYnXddlZyddl mZWqsek rYqsXnYd ekrd Z d!Z ddlTy!ddlm Z ejdWnek rqYnXddlZddlZeje e[yddlmZWqsek rYqsXnd"ekrd"Z d!Z ddlTy!ddlm Z ejdWnek r#YnXejjd#dkrKddlZnddlZdd%lmZddlZeje e[yddlmZWqsek rYqsXnd&ekrgd&Z d!Z ddlTy!ddlm Z ejdWnek r YnXddlZddlZeje e[yddlmZWqsek rcYqsXn ed'eejd(e)d?d@e)dAdBe)dCdDe)dEdFe)dGdHe)dGdIe)dJd6e+Z,e*Z+e)d-d.e+Z-e*Z+e)dKdLe)dMd0e)dNd2e)dOdPe)dQdRe+j.ee)dSdTe)dUd6e)dVd6e)dWdXedYredZre)d[dYne+Z/e*Z+e)d-d.e)d1d2e)d3d4e)d\d]e)d^d0ed_re)d`d2ne)d7d8e)dad6e)dbd4e)d3d4e)dJd6e)dcd4e+Z0[+[[([)ndZ1d$Z2ddZ3deddfdgZ5dhdiZ6djdkZ7ejdgdidkgddddldmZ:ejdme;ehe,kr0e<ehe/kr0dnddoddpdddqdrZ=dsdtZ>ejdrnye?Wne@k rRiZ?YnXdudvZAdwdxZBdydzZCd{d|ZDd}d~ZEddZFejdvdxdzd|d~dgdddZGdddZHddlImJZJGdddeJZKy eLZMWne@k r(ddZMYnXejdy eNZOWne@k r`ddZOYnXejdddZPePZ?[PdddZQe dkZRejdeRr ddZSeKe?jTeSeUeSeUeMeOZV[SdddZWejdnddZXeX\ZYZZ[Xedr ed r edr dZ[d$Z\Z]ejdddgddZ^ddZ_ddZ`ddZaddZbnedr ddZcddZdejddddgnedr+ ddZeddZfejddddgnddlgZhddZiddZjyehjkelejeiWne@k rz YnXddZmddZnyehjkeoenemWne@k r YnXddddZpGdddZqddZrdS(utOS routines for Mac, NT, or Posix depending on what system we're on. This exports: - all functions from posix, nt, os2, or ce, e.g. unlink, stat, etc. - os.path is either posixpath or ntpath - os.name is either 'posix', 'nt', 'os2' or 'ce'. - 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 (always '.') - 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). iNualtsepucurdirupardirusepupathsepulinesepudefpathunameupathudevnulluSEEK_SETuSEEK_CURuSEEK_ENDufsencodeufsdecodeu get_exec_pathufdopenupopenuextsepcCs |tkS(N(uglobals(uname((u'/opt/alt/python33/lib64/python3.3/os.pyu_exists%su_existsc CsAyt|jSWn)tk r<ddt|DSYnXdS(NcSs&g|]}|ddkr|qS(iu_((u.0un((u'/opt/alt/python33/lib64/python3.3/os.pyu ,s u%_get_exports_list..(ulistu__all__uAttributeErrorudir(umodule((u'/opt/alt/python33/lib64/python3.3/os.pyu_get_exports_list(s u_get_exports_listuposixu (u*(u_exitu_exit(u_have_functionsuntu uos2uEMX GCCi(ulinkuceuno os specific module founduos.path(ucurdirupardirusepupathsepudefpathuextsepualtsepudevnullu_have_functionscCs0|tkr,|tkr,tjt|ndS(N(u_globalsu_have_functionsu_setuadd(ustrufn((u'/opt/alt/python33/lib64/python3.3/os.pyu_addsu_adduHAVE_FACCESSATuaccessu HAVE_FCHMODATuchmodu HAVE_FCHOWNATuchownu HAVE_FSTATATustatuHAVE_FUTIMESATuutimeu HAVE_LINKATulinku HAVE_MKDIRATumkdiru HAVE_MKFIFOATumkfifou HAVE_MKNODATumknodu HAVE_OPENATuopenuHAVE_READLINKATureadlinku HAVE_RENAMEATurenameuHAVE_SYMLINKATusymlinku HAVE_UNLINKATuunlinkurmdiruHAVE_UTIMENSATu HAVE_FCHDIRuchdiru HAVE_FCHMODu HAVE_FCHOWNuHAVE_FDOPENDIRulistdiru HAVE_FEXECVEuexecveuHAVE_FTRUNCATEutruncateu HAVE_FUTIMENSu HAVE_FUTIMESuHAVE_FPATHCONFupathconfustatvfsufstatvfsu HAVE_FSTATVFSu HAVE_LCHFLAGSuchflagsu HAVE_LCHMODulchownu HAVE_LCHOWNu HAVE_LUTIMESu HAVE_LSTATu MS_WINDOWSiic CsItj|\}}|s3tj|\}}n|r|rtj| ryt|||Wn=tk r}z|jtjkrnWYdd}~XnXt}t|t rt td}n||krdSnyt ||WnTtk rD}z4| s,|jtjks,tj | r2nWYdd}~XnXdS(umakedirs(path [, mode=0o777][, exist_ok=False]) 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. If the target directory already exists, raise an OSError if exist_ok is False. Otherwise no exception is raised. This is recursive. NuASCII( upathusplituexistsumakedirsuOSErroruerrnouEEXISTucurdiru isinstanceubytesumkdiruisdir(unameumodeuexist_okuheadutailueucdir((u'/opt/alt/python33/lib64/python3.3/os.pyumakedirss&  )umakedirsc Cst|tj|\}}|s=tj|\}}nxI|r|ryt|Wntk roPYnXtj|\}}q@WdS(uremovedirs(path) Super-rmdir; remove a leaf directory and all empty 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(urmdirupathusplituerror(unameuheadutail((u'/opt/alt/python33/lib64/python3.3/os.pyu removedirs s  u removedirscCstj|\}}|r>|r>tj| r>t|nt||tj|\}}|r|ryt|Wqtk rYqXndS(u@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(upathusplituexistsumakedirsurenameu removedirsuerror(uoldunewuheadutail((u'/opt/alt/python33/lib64/python3.3/os.pyurenames!s    urenamesc csBtjtjtj}}}yt|}WnBtk rq}z"|dk r[||ndSWYdd}~XnXgg} } x@|D]8} |||| r| j| q| j| qW|r|| | fVnxK| D]C} ||| } |s||  rt| |||DdHqqW|s>|| | fVndS(uM 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. By default, os.walk does not follow symbolic links to subdirectories on systems that support them. In order to get this functionality, set the optional argument 'followlinks' to true. 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: import os from os.path import join, getsize for root, dirs, files in os.walk('python/Lib/email'): print(root, "consumes", end="") print(sum([getsize(join(root, name)) for name in files]), end="") print("bytes in", len(files), "non-directory files") if 'CVS' in dirs: dirs.remove('CVS') # don't visit CVS directories N( upathuislinkujoinuisdirulistdiruerroruNoneuappenduwalk( utoputopdownuonerroru followlinksuislinkujoinuisdirunamesuerrudirsunondirsunameunew_path((u'/opt/alt/python33/lib64/python3.3/os.pyuwalk=s(9     uwalkufollow_symlinksudir_fdu.ccst|ddd|}t|td|}zR|s`tj|jr~tj|t|r~t |||||DdHnWdt |XdS(uDirectory tree generator. This behaves exactly like walk(), except that it yields a 4-tuple dirpath, dirnames, filenames, dirfd `dirpath`, `dirnames` and `filenames` are identical to walk() output, and `dirfd` is a file descriptor referring to the directory `dirpath`. The advantage of fwalk() over walk() is that it's safe against symlink races (when follow_symlinks is False). If dir_fd is not None, it should be a file descriptor open to a directory, and top should be relative; top will then be relative to that directory. (dir_fd is always supported for fwalk.) Caution: Since fwalk() yields file descriptors, those are only valid until the next iteration step, so you should dup() them if you want to keep them for a longer period. Example: import os for root, dirs, files, rootfd in os.fwalk('python/Lib/email'): print(root, "consumes", end="") print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]), end="") print("bytes in", len(files), "non-directory files") if 'CVS' in dirs: dirs.remove('CVS') # don't visit CVS directories ufollow_symlinksudir_fdNF( ustatuFalseuopenuO_RDONLYustuS_ISDIRust_modeupathusamestatu_fwalkuclose(utoputopdownuonerrorufollow_symlinksudir_fduorig_stutopfd((u'/opt/alt/python33/lib64/python3.3/os.pyufwalks#"ufwalkc cst|}gg}}x|D]}y?tjt|d|jrW|j|n |j|Wq tk ry8tjt|d|ddjr|j|nWntk rw YnXYq Xq W|r||||fVnx|D]}y1t|d|d|} t |t d|} WnBt k rj} z"|dk rT|| ndSWYdd} ~ XnXzR|st j| t| rt j||} t| | |||DdHnWdt| XqW|s||||fVndS(Nudir_fdufollow_symlinksF(ulistdirustuS_ISDIRustatust_modeuappenduFileNotFoundErroruS_ISLNKuFalseuopenuO_RDONLYuerroruNoneupathusamestatujoinu_fwalkuclose( utopfdutoppathutopdownuonerrorufollow_symlinksunamesudirsunondirsunameuorig_studirfduerrudirpath((u'/opt/alt/python33/lib64/python3.3/os.pyu_fwalks<    $    "u_fwalkcGst||dS(upexecl(file, *args) Execute the executable file with argument list args, replacing the current process. N(uexecv(ufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuexeclsuexeclcGs(|d}t||dd|dS(uexecle(file, *args, env) Execute the executable file with argument list args and environment env, replacing the current process. iNii(uexecve(ufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuexecles uexeclecGst||dS(uexeclp(file, *args) Execute the executable file (which is searched for along $PATH) with argument list args, replacing the current process. N(uexecvp(ufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuexeclp suexeclpcGs(|d}t||dd|dS(uexeclpe(file, *args, env) Execute the executable file (which is searched for along $PATH) with argument list args and environment env, replacing the current process. iNii(uexecvpe(ufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuexeclpes uexeclpecCst||dS(uexecvp(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(u_execvpe(ufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuexecvpsuexecvpcCst|||dS(uexecvpe(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(u_execvpe(ufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuexecvpe$suexecvpecCs|dk r!t}||f}nt}|f}t}tj|\}}|rb|||dSd}}d} t|} tdkrt|}t t| } nx| D]} tj | |} y|| |Wqt k rT} zZ| }t j d}| jtjkrB| jtjkrB|dkrB| }|} nWYdd} ~ XqXqW|rq|j| n|j|dS(Nunti(uNoneuexecveuexecvuenvironupathusplitu get_exec_pathunameufsencodeumapujoinuerrorusysuexc_infouerrnouENOENTuENOTDIRuwith_traceback(ufileuargsuenvu exec_funcuargrestuheadutailulast_excu saved_excusaved_tbu path_listudirufullnameueutb((u'/opt/alt/python33/lib64/python3.3/os.pyu_execvpe/s<        $  u_execvpecCsddl}|dkr!t}n|j|jdty|jd}Wntk rkd}YnXtry|d}Wnt tfk rYn"X|dk rt dn|}|dk rt |t rt |}qnWdQX|dkrt}n|jtS(uReturns the sequence of directories that will be searched for the named executable (similar to a shell) when launching a process. *env* must be an environment variable dict or None. If *env* is None, os.environ will be used. iNuignoreuPATHsPATHu*env cannot contain 'PATH' and b'PATH' keys(uwarningsuNoneuenvironucatch_warningsu simplefilteru BytesWarningugetu TypeErrorusupports_bytes_environuKeyErroru ValueErroru isinstanceubytesufsdecodeudefpathusplitupathsep(uenvuwarningsu path_listu path_listb((u'/opt/alt/python33/lib64/python3.3/os.pyu get_exec_pathRs.          (uMutableMappingcBs|EeZdZddZddZddZddZd d Zd d Zd dZ ddZ ddZ dS(u_EnvironcCsC||_||_||_||_||_||_||_dS(N(u encodekeyu decodekeyu encodevalueu decodevalueuputenvuunsetenvu_data(uselfudatau encodekeyu decodekeyu encodevalueu decodevalueuputenvuunsetenv((u'/opt/alt/python33/lib64/python3.3/os.pyu__init__s      u_Environ.__init__c CsKy|j|j|}Wn!tk r=t|dYnX|j|S(N(u_datau encodekeyuKeyErroruNoneu decodevalue(uselfukeyuvalue((u'/opt/alt/python33/lib64/python3.3/os.pyu __getitem__s  u_Environ.__getitem__cCs?|j|}|j|}|j||||j|su$_Environ.__repr__..(uformatujoinu_datauitems(uself((uselfu'/opt/alt/python33/lib64/python3.3/os.pyu__repr__s u_Environ.__repr__cCs t|S(N(udict(uself((u'/opt/alt/python33/lib64/python3.3/os.pyucopysu _Environ.copycCs!||kr|||suuputenvcCs t|dS(Nu(u_putenv(ukey((u'/opt/alt/python33/lib64/python3.3/os.pyusuunsetenvcstd krldd}|t}fdd}i}xitjD]\}}||||.check_strcs|jS(N(uupper(ukey(uencode(u'/opt/alt/python33/lib64/python3.3/os.pyu encodekeysu!_createenviron..encodekeycs;t|ts+tdt|jn|jdS(Nustr expected, not %susurrogateescape(u isinstanceustru TypeErrorutypeu__name__uencode(uvalue(uencoding(u'/opt/alt/python33/lib64/python3.3/os.pyuencodesu_createenviron..encodecs|jdS(Nusurrogateescape(udecode(uvalue(uencoding(u'/opt/alt/python33/lib64/python3.3/os.pyudecodesu_createenviron..decode(uos2unt( unameustruenvironuitemsusysugetfilesystemencodingu_Environu_putenvu _unsetenv(u check_strudecodeu encodekeyudataukeyuvalue((uencodeuencodingu'/opt/alt/python33/lib64/python3.3/os.pyu_createenvirons"   u_createenvironcCstj||S(uGet an environment variable, return None if it doesn't exist. The optional second argument can specify an alternate default. key, default and the result are str.(uenvironuget(ukeyudefault((u'/opt/alt/python33/lib64/python3.3/os.pyugetenvsugetenvusupports_bytes_environcCs/t|ts+tdt|jn|S(Nubytes expected, not %s(u isinstanceubytesu TypeErrorutypeu__name__(uvalue((u'/opt/alt/python33/lib64/python3.3/os.pyu _check_bytessu _check_bytescCstj||S(uGet an environment variable, return None if it doesn't exist. The optional second argument can specify an alternate default. key, default and the result are bytes.(uenvironbuget(ukeyudefault((u'/opt/alt/python33/lib64/python3.3/os.pyugetenvbsugetenvbuenvironbcs[tjdkr!dndfdd}fdd}||fS(NumbcsustrictusurrogateescapecsOt|tr|St|tr2|jStdt|jdS(u Encode filename to the filesystem encoding with 'surrogateescape' error handler, return bytes unchanged. On Windows, use 'strict' error handler if the file system encoding is 'mbcs' (which is the default encoding). uexpect bytes or str, not %sN(u isinstanceubytesustruencodeu TypeErrorutypeu__name__(ufilename(uencodinguerrors(u'/opt/alt/python33/lib64/python3.3/os.pyufsencode s u_fscodec..fsencodecsOt|tr|St|tr2|jStdt|jdS(u Decode filename from the filesystem encoding with 'surrogateescape' error handler, return str unchanged. On Windows, use 'strict' error handler if the file system encoding is 'mbcs' (which is the default encoding). uexpect bytes or str, not %sN(u isinstanceustrubytesudecodeu TypeErrorutypeu__name__(ufilename(uencodinguerrors(u'/opt/alt/python33/lib64/python3.3/os.pyufsdecodes u_fscodec..fsdecode(usysugetfilesystemencoding(ufsencodeufsdecode((uencodinguerrorsu'/opt/alt/python33/lib64/python3.3/os.pyu_fscodecs     u_fscodecuforkuspawnvuexecvuP_WAITuP_NOWAITu P_NOWAITOc Cst}|sWy0|dkr.|||n||||WqtdYqXnv|tkrg|Sxct|d\}}t|rqjqjt|rt| St|rt |St dqjdS(Niiu"Not stopped, signaled or exited???( uforkuNoneu_exituP_NOWAITuwaitpidu WIFSTOPPEDu WIFSIGNALEDuWTERMSIGu WIFEXITEDu WEXITSTATUSuerror(umodeufileuargsuenvufuncupiduwpidusts((u'/opt/alt/python33/lib64/python3.3/os.pyu _spawnvef7s&        u _spawnvefcCst|||dtS(uspawnv(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(u _spawnvefuNoneuexecv(umodeufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnvRscCst||||tS(u: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. (u _spawnvefuexecve(umodeufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnve[suspawnvecCst|||dtS(u8spawnvp(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(u _spawnvefuNoneuexecvp(umodeufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnvpgsuspawnvpcCst||||tS(u\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. (u _spawnvefuexecvpe(umodeufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnvpeqsuspawnvpecGst|||S(uspawnl(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. (uspawnv(umodeufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnlsuspawnlcGs'|d}t|||dd|S(u: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. iNii(uspawnve(umodeufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnles uspawnlecGst|||S(uWspawnlp(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. (uspawnvp(umodeufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnlpsuspawnlpcGs'|d}t|||dd|S(u]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. iNii(uspawnvpe(umodeufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnlpes uspawnlpecCs t||S(N(u stat_result(utupudict((u'/opt/alt/python33/lib64/python3.3/os.pyu_make_stat_resultsu_make_stat_resultcCs|j\}}t|fS(N(u __reduce__u_make_stat_result(usrutypeuargs((u'/opt/alt/python33/lib64/python3.3/os.pyu_pickle_stat_resultsu_pickle_stat_resultcCs t||S(N(ustatvfs_result(utupudict((u'/opt/alt/python33/lib64/python3.3/os.pyu_make_statvfs_resultsu_make_statvfs_resultcCs|j\}}t|fS(N(u __reduce__u_make_statvfs_result(usrutypeuargs((u'/opt/alt/python33/lib64/python3.3/os.pyu_pickle_statvfs_resultsu_pickle_statvfs_resulturc Cst|ts(tdt|n|d krGtd|n|dks_|dkrntdnddl}ddl}|dkr|j|dd d|j d |}t |j |j |S|j|dd d |j d |}t |j |j|SdS( Nu&invalid cmd type (%s, expected string)uruwuinvalid mode %riu+popen() does not support unbuffered streamsushellustdoutubufsizeustdin(uruwT(u isinstanceustru TypeErrorutypeu ValueErroruNoneu subprocessuiouPopenuTrueuPIPEu _wrap_closeu TextIOWrapperustdoutustdin(ucmdumodeu bufferingu subprocessuiouproc((u'/opt/alt/python33/lib64/python3.3/os.pyupopens$        cBs\|EeZdZddZddZddZddZd d Zd d Zd S(u _wrap_closecCs||_||_dS(N(u_streamu_proc(uselfustreamuproc((u'/opt/alt/python33/lib64/python3.3/os.pyu__init__s u_wrap_close.__init__cCsH|jj|jj}|dkr,dStdkr<|S|d>SdS(Niunti(u_streamucloseu_procuwaituNoneuname(uselfu returncode((u'/opt/alt/python33/lib64/python3.3/os.pyucloses   u_wrap_close.closecCs|S(N((uself((u'/opt/alt/python33/lib64/python3.3/os.pyu __enter__su_wrap_close.__enter__cGs|jdS(N(uclose(uselfuargs((u'/opt/alt/python33/lib64/python3.3/os.pyu__exit__su_wrap_close.__exit__cCst|j|S(N(ugetattru_stream(uselfuname((u'/opt/alt/python33/lib64/python3.3/os.pyu __getattr__su_wrap_close.__getattr__cCs t|jS(N(uiteru_stream(uself((u'/opt/alt/python33/lib64/python3.3/os.pyu__iter__su_wrap_close.__iter__N( u__name__u __module__u __qualname__u__init__ucloseu __enter__u__exit__u __getattr__u__iter__(u __locals__((u'/opt/alt/python33/lib64/python3.3/os.pyu _wrap_closes     u _wrap_closecOsGt|ts(tdt|nddl}|j|||S(Nu&invalid fd type (%s, expected integer)i(u isinstanceuintu TypeErrorutypeuiouopen(ufduargsukwargsuio((u'/opt/alt/python33/lib64/python3.3/os.pyufdopens iFT(uos2unt(ugetenvusupports_bytes_environ(uenvironbugetenvbi(su__doc__usysuerrnoustatustubuiltin_module_namesu_namesu__all__u_existsu_get_exports_listunameulinesepuposixu_exituappendu ImportErroru posixpathupathu_have_functionsuntuntpathuextenduos2uversionufindu os2emxpathu _emx_linkulinkuceumodulesuos.pathucurdirupardirusepupathsepudefpathuextsepualtsepudevnulluglobalsu_globalsu_addusetu_setusupports_dir_fdusupports_effective_idsuaddu supports_fdusupports_follow_symlinksuSEEK_SETuSEEK_CURuSEEK_ENDuFalseumakedirsu removedirsurenamesuTrueuNoneuwalkuopenulistdirufwalku_fwalkuenvironu NameErroruexecluexecleuexeclpuexeclpeuexecvpuexecvpeu_execvpeu get_exec_pathucollections.abcuMutableMappingu_Environuputenvu_putenvuunsetenvu _unsetenvu_createenvironugetenvusupports_bytes_environu _check_bytesu_dataubytesuenvironbugetenvbu_fscodecufsencodeufsdecodeuP_WAITuP_NOWAITu P_NOWAITOu _spawnvefuspawnvuspawnveuspawnvpuspawnvpeuspawnluspawnleuspawnlpuspawnlpeucopyregu_copyregu_make_stat_resultu_pickle_stat_resultupickleu stat_resultu_make_statvfs_resultu_pickle_statvfs_resultustatvfs_resultupopenu _wrap_closeufdopen(((u'/opt/alt/python33/lib64/python3.3/os.pyus                              :                                                Y $!, /       #-5              #%