golden hour
/opt/alt/python27/lib64/python2.7
⬆️ Go Up
Upload
File/Folder
Size
Actions
BaseHTTPServer.py
22.21 KB
Del
OK
BaseHTTPServer.pyc
21.47 KB
Del
OK
BaseHTTPServer.pyo
21.47 KB
Del
OK
Bastion.py
5.61 KB
Del
OK
Bastion.pyc
6.69 KB
Del
OK
Bastion.pyo
6.69 KB
Del
OK
CGIHTTPServer.py
12.78 KB
Del
OK
CGIHTTPServer.pyc
10.92 KB
Del
OK
CGIHTTPServer.pyo
10.92 KB
Del
OK
ConfigParser.py
27.1 KB
Del
OK
ConfigParser.pyc
25.37 KB
Del
OK
ConfigParser.pyo
25.37 KB
Del
OK
Cookie.py
25.92 KB
Del
OK
Cookie.pyc
22.61 KB
Del
OK
Cookie.pyo
22.61 KB
Del
OK
DocXMLRPCServer.py
10.52 KB
Del
OK
DocXMLRPCServer.pyc
10.2 KB
Del
OK
DocXMLRPCServer.pyo
10.09 KB
Del
OK
HTMLParser.py
16.77 KB
Del
OK
HTMLParser.pyc
13.81 KB
Del
OK
HTMLParser.pyo
13.51 KB
Del
OK
MimeWriter.py
6.33 KB
Del
OK
MimeWriter.pyc
7.31 KB
Del
OK
MimeWriter.pyo
7.31 KB
Del
OK
Queue.py
8.38 KB
Del
OK
Queue.pyc
9.56 KB
Del
OK
Queue.pyo
9.56 KB
Del
OK
SimpleHTTPServer.py
7.81 KB
Del
OK
SimpleHTTPServer.pyc
7.96 KB
Del
OK
SimpleHTTPServer.pyo
7.96 KB
Del
OK
SimpleXMLRPCServer.py
25.21 KB
Del
OK
SimpleXMLRPCServer.pyc
22.78 KB
Del
OK
SimpleXMLRPCServer.pyo
22.78 KB
Del
OK
SocketServer.py
23.39 KB
Del
OK
SocketServer.pyc
24.25 KB
Del
OK
SocketServer.pyo
24.25 KB
Del
OK
StringIO.py
10.41 KB
Del
OK
StringIO.pyc
11.45 KB
Del
OK
StringIO.pyo
11.45 KB
Del
OK
UserDict.py
6.89 KB
Del
OK
UserDict.pyc
10.05 KB
Del
OK
UserDict.pyo
10.05 KB
Del
OK
UserList.py
3.56 KB
Del
OK
UserList.pyc
6.85 KB
Del
OK
UserList.pyo
6.85 KB
Del
OK
UserString.py
9.47 KB
Del
OK
UserString.pyc
15.38 KB
Del
OK
UserString.pyo
15.38 KB
Del
OK
_LWPCookieJar.py
6.4 KB
Del
OK
_LWPCookieJar.pyc
5.38 KB
Del
OK
_LWPCookieJar.pyo
5.38 KB
Del
OK
_MozillaCookieJar.py
5.66 KB
Del
OK
_MozillaCookieJar.pyc
4.41 KB
Del
OK
_MozillaCookieJar.pyo
4.37 KB
Del
OK
__future__.py
4.28 KB
Del
OK
__future__.pyc
4.2 KB
Del
OK
__future__.pyo
4.2 KB
Del
OK
__phello__.foo.py
64 B
Del
OK
__phello__.foo.pyc
138 B
Del
OK
__phello__.foo.pyo
138 B
Del
OK
_abcoll.py
18.18 KB
Del
OK
_abcoll.pyc
26.4 KB
Del
OK
_abcoll.pyo
26.4 KB
Del
OK
_osx_support.py
18.65 KB
Del
OK
_osx_support.pyc
11.72 KB
Del
OK
_osx_support.pyo
11.72 KB
Del
OK
_pyio.py
68 KB
Del
OK
_pyio.pyc
65.41 KB
Del
OK
_pyio.pyo
65.41 KB
Del
OK
_strptime.py
20.24 KB
Del
OK
_strptime.pyc
15.07 KB
Del
OK
_strptime.pyo
15.07 KB
Del
OK
_sysconfigdata.py
18.9 KB
Del
OK
_sysconfigdata.pyc
22 KB
Del
OK
_sysconfigdata.pyo
22 KB
Del
OK
_threading_local.py
7.09 KB
Del
OK
_threading_local.pyc
6.34 KB
Del
OK
_threading_local.pyo
6.34 KB
Del
OK
_weakrefset.py
5.77 KB
Del
OK
_weakrefset.pyc
10.06 KB
Del
OK
_weakrefset.pyo
10.06 KB
Del
OK
abc.py
6.98 KB
Del
OK
abc.pyc
6.14 KB
Del
OK
abc.pyo
6.08 KB
Del
OK
aifc.py
33.77 KB
Del
OK
aifc.pyc
30.67 KB
Del
OK
aifc.pyo
30.67 KB
Del
OK
antigravity.py
60 B
Del
OK
antigravity.pyc
216 B
Del
OK
antigravity.pyo
216 B
Del
OK
anydbm.py
2.6 KB
Del
OK
anydbm.pyc
2.77 KB
Del
OK
anydbm.pyo
2.77 KB
Del
OK
argparse.py
87.14 KB
Del
OK
argparse.pyc
64.83 KB
Del
OK
argparse.pyo
64.67 KB
Del
OK
ast.py
11.53 KB
Del
OK
ast.pyc
12.94 KB
Del
OK
ast.pyo
12.94 KB
Del
OK
asynchat.py
11.31 KB
Del
OK
asynchat.pyc
8.98 KB
Del
OK
asynchat.pyo
8.98 KB
Del
OK
asyncore.py
20.45 KB
Del
OK
asyncore.pyc
19.2 KB
Del
OK
asyncore.pyo
19.2 KB
Del
OK
atexit.py
1.67 KB
Del
OK
atexit.pyc
2.23 KB
Del
OK
atexit.pyo
2.23 KB
Del
OK
audiodev.py
7.42 KB
Del
OK
audiodev.pyc
8.61 KB
Del
OK
audiodev.pyo
8.61 KB
Del
OK
base64.py
11.54 KB
Del
OK
base64.pyc
11.26 KB
Del
OK
base64.pyo
11.26 KB
Del
OK
bdb.py
21.21 KB
Del
OK
bdb.pyc
19.43 KB
Del
OK
bdb.pyo
19.43 KB
Del
OK
binhex.py
14.35 KB
Del
OK
binhex.pyc
15.75 KB
Del
OK
binhex.pyo
15.75 KB
Del
OK
bisect.py
2.53 KB
Del
OK
bisect.pyc
3.06 KB
Del
OK
bisect.pyo
3.06 KB
Del
OK
bsddb
-
Del
OK
cProfile.py
6.43 KB
Del
OK
cProfile.pyc
6.42 KB
Del
OK
cProfile.pyo
6.42 KB
Del
OK
calendar.py
22.84 KB
Del
OK
calendar.pyc
28.26 KB
Del
OK
calendar.pyo
28.26 KB
Del
OK
cgi.py
34.97 KB
Del
OK
cgi.pyc
33.24 KB
Del
OK
cgi.pyo
33.24 KB
Del
OK
cgitb.py
11.89 KB
Del
OK
cgitb.pyc
12.08 KB
Del
OK
cgitb.pyo
12.08 KB
Del
OK
chunk.py
5.29 KB
Del
OK
chunk.pyc
5.61 KB
Del
OK
chunk.pyo
5.61 KB
Del
OK
cmd.py
14.67 KB
Del
OK
cmd.pyc
13.98 KB
Del
OK
cmd.pyo
13.98 KB
Del
OK
code.py
9.95 KB
Del
OK
code.pyc
10.29 KB
Del
OK
code.pyo
10.29 KB
Del
OK
codecs.py
35.3 KB
Del
OK
codecs.pyc
37.15 KB
Del
OK
codecs.pyo
37.15 KB
Del
OK
codeop.py
5.86 KB
Del
OK
codeop.pyc
6.57 KB
Del
OK
codeop.pyo
6.57 KB
Del
OK
collections.py
27.15 KB
Del
OK
collections.pyc
26.21 KB
Del
OK
collections.pyo
26.16 KB
Del
OK
colorsys.py
3.6 KB
Del
OK
colorsys.pyc
4 KB
Del
OK
colorsys.pyo
4 KB
Del
OK
commands.py
2.49 KB
Del
OK
commands.pyc
2.49 KB
Del
OK
commands.pyo
2.49 KB
Del
OK
compileall.py
7.58 KB
Del
OK
compileall.pyc
6.93 KB
Del
OK
compileall.pyo
6.93 KB
Del
OK
compiler
-
Del
OK
config
-
Del
OK
contextlib.py
4.32 KB
Del
OK
contextlib.pyc
4.5 KB
Del
OK
contextlib.pyo
4.5 KB
Del
OK
cookielib.py
63.95 KB
Del
OK
cookielib.pyc
54.67 KB
Del
OK
cookielib.pyo
54.49 KB
Del
OK
copy.py
11.26 KB
Del
OK
copy.pyc
12.21 KB
Del
OK
copy.pyo
12.13 KB
Del
OK
copy_reg.py
6.81 KB
Del
OK
copy_reg.pyc
5.19 KB
Del
OK
copy_reg.pyo
5.14 KB
Del
OK
crypt.py
2.24 KB
Del
OK
crypt.pyc
2.95 KB
Del
OK
crypt.pyo
2.95 KB
Del
OK
csv.py
16.32 KB
Del
OK
csv.pyc
13.56 KB
Del
OK
csv.pyo
13.56 KB
Del
OK
ctypes
-
Del
OK
curses
-
Del
OK
dbhash.py
498 B
Del
OK
dbhash.pyc
744 B
Del
OK
dbhash.pyo
744 B
Del
OK
decimal.py
216.73 KB
Del
OK
decimal.pyc
171.36 KB
Del
OK
decimal.pyo
171.36 KB
Del
OK
difflib.py
80.4 KB
Del
OK
difflib.pyc
61.13 KB
Del
OK
difflib.pyo
61.08 KB
Del
OK
dircache.py
1.1 KB
Del
OK
dircache.pyc
1.59 KB
Del
OK
dircache.pyo
1.59 KB
Del
OK
dis.py
6.35 KB
Del
OK
dis.pyc
6.18 KB
Del
OK
dis.pyo
6.18 KB
Del
OK
distutils
-
Del
OK
doctest.py
102.63 KB
Del
OK
doctest.pyc
83.21 KB
Del
OK
doctest.pyo
82.93 KB
Del
OK
dumbdbm.py
8.93 KB
Del
OK
dumbdbm.pyc
6.83 KB
Del
OK
dumbdbm.pyo
6.83 KB
Del
OK
dummy_thread.py
4.31 KB
Del
OK
dummy_thread.pyc
5.46 KB
Del
OK
dummy_thread.pyo
5.46 KB
Del
OK
dummy_threading.py
2.74 KB
Del
OK
dummy_threading.pyc
1.27 KB
Del
OK
dummy_threading.pyo
1.27 KB
Del
OK
email
-
Del
OK
encodings
-
Del
OK
ensurepip
-
Del
OK
filecmp.py
9.36 KB
Del
OK
filecmp.pyc
9.65 KB
Del
OK
filecmp.pyo
9.65 KB
Del
OK
fileinput.py
13.42 KB
Del
OK
fileinput.pyc
14.54 KB
Del
OK
fileinput.pyo
14.54 KB
Del
OK
fnmatch.py
3.24 KB
Del
OK
fnmatch.pyc
3.61 KB
Del
OK
fnmatch.pyo
3.61 KB
Del
OK
formatter.py
14.56 KB
Del
OK
formatter.pyc
19.71 KB
Del
OK
formatter.pyo
19.71 KB
Del
OK
fpformat.py
4.62 KB
Del
OK
fpformat.pyc
4.69 KB
Del
OK
fpformat.pyo
4.69 KB
Del
OK
fractions.py
21.87 KB
Del
OK
fractions.pyc
19.74 KB
Del
OK
fractions.pyo
19.74 KB
Del
OK
ftplib.py
37.3 KB
Del
OK
ftplib.pyc
34.82 KB
Del
OK
ftplib.pyo
34.82 KB
Del
OK
functools.py
4.69 KB
Del
OK
functools.pyc
6.85 KB
Del
OK
functools.pyo
6.85 KB
Del
OK
genericpath.py
3.13 KB
Del
OK
genericpath.pyc
3.57 KB
Del
OK
genericpath.pyo
3.57 KB
Del
OK
getopt.py
7.15 KB
Del
OK
getopt.pyc
6.63 KB
Del
OK
getopt.pyo
6.58 KB
Del
OK
getpass.py
5.43 KB
Del
OK
getpass.pyc
4.72 KB
Del
OK
getpass.pyo
4.72 KB
Del
OK
gettext.py
22.13 KB
Del
OK
gettext.pyc
18.17 KB
Del
OK
gettext.pyo
18.17 KB
Del
OK
glob.py
3.04 KB
Del
OK
glob.pyc
2.98 KB
Del
OK
glob.pyo
2.98 KB
Del
OK
gzip.py
18.58 KB
Del
OK
gzip.pyc
15.26 KB
Del
OK
gzip.pyo
15.26 KB
Del
OK
hashlib.py
7.66 KB
Del
OK
hashlib.pyc
6.86 KB
Del
OK
hashlib.pyo
6.86 KB
Del
OK
heapq.py
17.87 KB
Del
OK
heapq.pyc
14.45 KB
Del
OK
heapq.pyo
14.45 KB
Del
OK
hmac.py
4.48 KB
Del
OK
hmac.pyc
4.56 KB
Del
OK
hmac.pyo
4.56 KB
Del
OK
hotshot
-
Del
OK
htmlentitydefs.py
17.63 KB
Del
OK
htmlentitydefs.pyc
6.23 KB
Del
OK
htmlentitydefs.pyo
6.23 KB
Del
OK
htmllib.py
12.57 KB
Del
OK
htmllib.pyc
20.99 KB
Del
OK
htmllib.pyo
20.99 KB
Del
OK
httplib.py
51.07 KB
Del
OK
httplib.pyc
37.88 KB
Del
OK
httplib.pyo
37.7 KB
Del
OK
idlelib
-
Del
OK
ihooks.py
18.54 KB
Del
OK
ihooks.pyc
21.75 KB
Del
OK
ihooks.pyo
21.75 KB
Del
OK
imaplib.py
47.23 KB
Del
OK
imaplib.pyc
45.19 KB
Del
OK
imaplib.pyo
42.49 KB
Del
OK
imghdr.py
3.46 KB
Del
OK
imghdr.pyc
4.93 KB
Del
OK
imghdr.pyo
4.93 KB
Del
OK
importlib
-
Del
OK
imputil.py
25.16 KB
Del
OK
imputil.pyc
15.74 KB
Del
OK
imputil.pyo
15.57 KB
Del
OK
inspect.py
42 KB
Del
OK
inspect.pyc
40.16 KB
Del
OK
inspect.pyo
40.16 KB
Del
OK
io.py
3.24 KB
Del
OK
io.pyc
3.57 KB
Del
OK
io.pyo
3.57 KB
Del
OK
json
-
Del
OK
keyword.py
1.96 KB
Del
OK
keyword.pyc
2.08 KB
Del
OK
keyword.pyo
2.08 KB
Del
OK
lib-dynload
-
Del
OK
lib2to3
-
Del
OK
linecache.py
3.93 KB
Del
OK
linecache.pyc
3.27 KB
Del
OK
linecache.pyo
3.27 KB
Del
OK
locale.py
100.42 KB
Del
OK
locale.pyc
55.69 KB
Del
OK
locale.pyo
55.69 KB
Del
OK
logging
-
Del
OK
macpath.py
6.14 KB
Del
OK
macpath.pyc
7.74 KB
Del
OK
macpath.pyo
7.74 KB
Del
OK
macurl2path.py
2.67 KB
Del
OK
macurl2path.pyc
2.24 KB
Del
OK
macurl2path.pyo
2.24 KB
Del
OK
mailbox.py
79.34 KB
Del
OK
mailbox.pyc
77.7 KB
Del
OK
mailbox.pyo
77.65 KB
Del
OK
mailcap.py
7.25 KB
Del
OK
mailcap.pyc
7.08 KB
Del
OK
mailcap.pyo
7.08 KB
Del
OK
markupbase.py
14.3 KB
Del
OK
markupbase.pyc
9.27 KB
Del
OK
markupbase.pyo
9.07 KB
Del
OK
md5.py
358 B
Del
OK
md5.pyc
391 B
Del
OK
md5.pyo
391 B
Del
OK
mhlib.py
32.65 KB
Del
OK
mhlib.pyc
33.98 KB
Del
OK
mhlib.pyo
33.98 KB
Del
OK
mimetools.py
7 KB
Del
OK
mimetools.pyc
8.26 KB
Del
OK
mimetools.pyo
8.26 KB
Del
OK
mimetypes.py
20.54 KB
Del
OK
mimetypes.pyc
18.3 KB
Del
OK
mimetypes.pyo
18.3 KB
Del
OK
mimify.py
14.68 KB
Del
OK
mimify.pyc
11.91 KB
Del
OK
mimify.pyo
11.91 KB
Del
OK
modulefinder.py
23.89 KB
Del
OK
modulefinder.pyc
19.12 KB
Del
OK
modulefinder.pyo
19.04 KB
Del
OK
multifile.py
4.71 KB
Del
OK
multifile.pyc
5.48 KB
Del
OK
multifile.pyo
5.44 KB
Del
OK
multiprocessing
-
Del
OK
mutex.py
1.83 KB
Del
OK
mutex.pyc
2.55 KB
Del
OK
mutex.pyo
2.55 KB
Del
OK
netrc.py
5.75 KB
Del
OK
netrc.pyc
4.72 KB
Del
OK
netrc.pyo
4.72 KB
Del
OK
new.py
610 B
Del
OK
new.pyc
875 B
Del
OK
new.pyo
875 B
Del
OK
nntplib.py
20.97 KB
Del
OK
nntplib.pyc
21.11 KB
Del
OK
nntplib.pyo
21.11 KB
Del
OK
ntpath.py
18.97 KB
Del
OK
ntpath.pyc
13.1 KB
Del
OK
ntpath.pyo
13.1 KB
Del
OK
nturl2path.py
2.36 KB
Del
OK
nturl2path.pyc
1.81 KB
Del
OK
nturl2path.pyo
1.81 KB
Del
OK
numbers.py
10.08 KB
Del
OK
numbers.pyc
14.47 KB
Del
OK
numbers.pyo
14.47 KB
Del
OK
opcode.py
5.35 KB
Del
OK
opcode.pyc
6.06 KB
Del
OK
opcode.pyo
6.06 KB
Del
OK
optparse.py
59.77 KB
Del
OK
optparse.pyc
54.41 KB
Del
OK
optparse.pyo
54.33 KB
Del
OK
os.py
25.3 KB
Del
OK
os.pyc
25.76 KB
Del
OK
os.pyo
25.76 KB
Del
OK
os2emxpath.py
4.53 KB
Del
OK
os2emxpath.pyc
4.53 KB
Del
OK
os2emxpath.pyo
4.53 KB
Del
OK
pdb.doc
7.73 KB
Del
OK
pdb.py
45.03 KB
Del
OK
pdb.pyc
44.09 KB
Del
OK
pdb.pyo
44.09 KB
Del
OK
pickle.py
44.42 KB
Del
OK
pickle.pyc
38.98 KB
Del
OK
pickle.pyo
38.79 KB
Del
OK
pickletools.py
72.78 KB
Del
OK
pickletools.pyc
56.1 KB
Del
OK
pickletools.pyo
55.26 KB
Del
OK
pipes.py
9.36 KB
Del
OK
pipes.pyc
9.29 KB
Del
OK
pipes.pyo
9.29 KB
Del
OK
pkgutil.py
19.77 KB
Del
OK
pkgutil.pyc
18.93 KB
Del
OK
pkgutil.pyo
18.93 KB
Del
OK
plat-linux2
-
Del
OK
platform.py
51.56 KB
Del
OK
platform.pyc
37.7 KB
Del
OK
platform.pyo
37.7 KB
Del
OK
plistlib.py
14.83 KB
Del
OK
plistlib.pyc
19.54 KB
Del
OK
plistlib.pyo
19.46 KB
Del
OK
popen2.py
8.22 KB
Del
OK
popen2.pyc
9.02 KB
Del
OK
popen2.pyo
8.98 KB
Del
OK
poplib.py
12.52 KB
Del
OK
poplib.pyc
13.45 KB
Del
OK
poplib.pyo
13.45 KB
Del
OK
posixfile.py
7.82 KB
Del
OK
posixfile.pyc
7.63 KB
Del
OK
posixfile.pyo
7.63 KB
Del
OK
posixpath.py
13.96 KB
Del
OK
posixpath.pyc
11.49 KB
Del
OK
posixpath.pyo
11.49 KB
Del
OK
pprint.py
11.5 KB
Del
OK
pprint.pyc
10.2 KB
Del
OK
pprint.pyo
10.02 KB
Del
OK
profile.py
22.26 KB
Del
OK
profile.pyc
16.57 KB
Del
OK
profile.pyo
16.32 KB
Del
OK
pstats.py
26.09 KB
Del
OK
pstats.pyc
25.19 KB
Del
OK
pstats.pyo
25.19 KB
Del
OK
pty.py
4.94 KB
Del
OK
pty.pyc
4.98 KB
Del
OK
pty.pyo
4.98 KB
Del
OK
py_compile.py
5.8 KB
Del
OK
py_compile.pyc
6.37 KB
Del
OK
py_compile.pyo
6.37 KB
Del
OK
pyclbr.py
13.07 KB
Del
OK
pyclbr.pyc
9.59 KB
Del
OK
pyclbr.pyo
9.59 KB
Del
OK
pydoc.py
93.43 KB
Del
OK
pydoc.pyc
92.69 KB
Del
OK
pydoc.pyo
92.63 KB
Del
OK
pydoc_data
-
Del
OK
quopri.py
6.81 KB
Del
OK
quopri.pyc
6.56 KB
Del
OK
quopri.pyo
6.56 KB
Del
OK
random.py
31.7 KB
Del
OK
random.pyc
25.65 KB
Del
OK
random.pyo
25.65 KB
Del
OK
re.py
13.11 KB
Del
OK
re.pyc
13.37 KB
Del
OK
re.pyo
13.37 KB
Del
OK
repr.py
4.2 KB
Del
OK
repr.pyc
5.47 KB
Del
OK
repr.pyo
5.47 KB
Del
OK
rexec.py
19.68 KB
Del
OK
rexec.pyc
24 KB
Del
OK
rexec.pyo
24 KB
Del
OK
rfc822.py
32.76 KB
Del
OK
rfc822.pyc
31.83 KB
Del
OK
rfc822.pyo
31.83 KB
Del
OK
rlcompleter.py
5.85 KB
Del
OK
rlcompleter.pyc
6.04 KB
Del
OK
rlcompleter.pyo
6.04 KB
Del
OK
robotparser.py
7.51 KB
Del
OK
robotparser.pyc
8.12 KB
Del
OK
robotparser.pyo
8.12 KB
Del
OK
runpy.py
10.82 KB
Del
OK
runpy.pyc
8.85 KB
Del
OK
runpy.pyo
8.85 KB
Del
OK
sched.py
4.97 KB
Del
OK
sched.pyc
4.99 KB
Del
OK
sched.pyo
4.99 KB
Del
OK
sets.py
18.6 KB
Del
OK
sets.pyc
17.21 KB
Del
OK
sets.pyo
17.21 KB
Del
OK
sgmllib.py
17.46 KB
Del
OK
sgmllib.pyc
15.67 KB
Del
OK
sgmllib.pyo
15.67 KB
Del
OK
sha.py
393 B
Del
OK
sha.pyc
434 B
Del
OK
sha.pyo
434 B
Del
OK
shelve.py
7.99 KB
Del
OK
shelve.pyc
10.36 KB
Del
OK
shelve.pyo
10.36 KB
Del
OK
shlex.py
10.9 KB
Del
OK
shlex.pyc
7.55 KB
Del
OK
shlex.pyo
7.55 KB
Del
OK
shutil.py
19.41 KB
Del
OK
shutil.pyc
19.19 KB
Del
OK
shutil.pyo
19.19 KB
Del
OK
site-packages
-
Del
OK
site.py
19.18 KB
Del
OK
site.pyc
19.35 KB
Del
OK
site.pyo
19.35 KB
Del
OK
smtpd.py
18.12 KB
Del
OK
smtpd.pyc
15.9 KB
Del
OK
smtpd.pyo
15.9 KB
Del
OK
smtplib.py
31.39 KB
Del
OK
smtplib.pyc
30.29 KB
Del
OK
smtplib.pyo
30.29 KB
Del
OK
sndhdr.py
5.83 KB
Del
OK
sndhdr.pyc
7.4 KB
Del
OK
sndhdr.pyo
7.4 KB
Del
OK
socket.py
20.13 KB
Del
OK
socket.pyc
16.15 KB
Del
OK
socket.pyo
16.07 KB
Del
OK
sqlite3
-
Del
OK
sre.py
384 B
Del
OK
sre.pyc
532 B
Del
OK
sre.pyo
532 B
Del
OK
sre_compile.py
19.36 KB
Del
OK
sre_compile.pyc
12.46 KB
Del
OK
sre_compile.pyo
12.3 KB
Del
OK
sre_constants.py
7.03 KB
Del
OK
sre_constants.pyc
6.11 KB
Del
OK
sre_constants.pyo
6.11 KB
Del
OK
sre_parse.py
29.98 KB
Del
OK
sre_parse.pyc
21.12 KB
Del
OK
sre_parse.pyo
21.12 KB
Del
OK
ssl.py
36.58 KB
Del
OK
ssl.pyc
32.24 KB
Del
OK
ssl.pyo
32.24 KB
Del
OK
stat.py
1.8 KB
Del
OK
stat.pyc
2.81 KB
Del
OK
stat.pyo
2.81 KB
Del
OK
statvfs.py
898 B
Del
OK
statvfs.pyc
633 B
Del
OK
statvfs.pyo
633 B
Del
OK
string.py
21.04 KB
Del
OK
string.pyc
20.63 KB
Del
OK
string.pyo
20.63 KB
Del
OK
stringold.py
12.16 KB
Del
OK
stringold.pyc
12.6 KB
Del
OK
stringold.pyo
12.6 KB
Del
OK
stringprep.py
13.21 KB
Del
OK
stringprep.pyc
14.4 KB
Del
OK
stringprep.pyo
14.33 KB
Del
OK
struct.py
82 B
Del
OK
struct.pyc
252 B
Del
OK
struct.pyo
252 B
Del
OK
subprocess.py
49.34 KB
Del
OK
subprocess.pyc
32.32 KB
Del
OK
subprocess.pyo
32.32 KB
Del
OK
sunau.py
16.82 KB
Del
OK
sunau.pyc
18.57 KB
Del
OK
sunau.pyo
18.57 KB
Del
OK
sunaudio.py
1.37 KB
Del
OK
sunaudio.pyc
2 KB
Del
OK
sunaudio.pyo
2 KB
Del
OK
symbol.py
2.02 KB
Del
OK
symbol.pyc
2.98 KB
Del
OK
symbol.pyo
2.98 KB
Del
OK
symtable.py
7.26 KB
Del
OK
symtable.pyc
12.14 KB
Del
OK
symtable.pyo
12.02 KB
Del
OK
sysconfig.py
22.32 KB
Del
OK
sysconfig.pyc
17.73 KB
Del
OK
sysconfig.pyo
17.73 KB
Del
OK
tabnanny.py
11.08 KB
Del
OK
tabnanny.pyc
8.31 KB
Del
OK
tabnanny.pyo
8.31 KB
Del
OK
tarfile.py
88.45 KB
Del
OK
tarfile.pyc
76.54 KB
Del
OK
tarfile.pyo
76.54 KB
Del
OK
telnetlib.py
26.4 KB
Del
OK
telnetlib.pyc
23.03 KB
Del
OK
telnetlib.pyo
23.03 KB
Del
OK
tempfile.py
19.09 KB
Del
OK
tempfile.pyc
20.55 KB
Del
OK
tempfile.pyo
20.55 KB
Del
OK
test
-
Del
OK
textwrap.py
16.88 KB
Del
OK
textwrap.pyc
11.99 KB
Del
OK
textwrap.pyo
11.9 KB
Del
OK
this.py
1002 B
Del
OK
this.pyc
1.2 KB
Del
OK
this.pyo
1.2 KB
Del
OK
threading.py
46.17 KB
Del
OK
threading.pyc
42.97 KB
Del
OK
threading.pyo
40.84 KB
Del
OK
timeit.py
12.5 KB
Del
OK
timeit.pyc
12.06 KB
Del
OK
timeit.pyo
12.06 KB
Del
OK
toaiff.py
3.07 KB
Del
OK
toaiff.pyc
3.08 KB
Del
OK
toaiff.pyo
3.08 KB
Del
OK
token.py
2.85 KB
Del
OK
token.pyc
3.79 KB
Del
OK
token.pyo
3.79 KB
Del
OK
tokenize.py
17.07 KB
Del
OK
tokenize.pyc
14.37 KB
Del
OK
tokenize.pyo
14.31 KB
Del
OK
trace.py
29.2 KB
Del
OK
trace.pyc
22.69 KB
Del
OK
trace.pyo
22.63 KB
Del
OK
traceback.py
11.02 KB
Del
OK
traceback.pyc
11.66 KB
Del
OK
traceback.pyo
11.66 KB
Del
OK
tty.py
879 B
Del
OK
tty.pyc
1.32 KB
Del
OK
tty.pyo
1.32 KB
Del
OK
types.py
2.04 KB
Del
OK
types.pyc
2.75 KB
Del
OK
types.pyo
2.75 KB
Del
OK
unittest
-
Del
OK
urllib.py
58.82 KB
Del
OK
urllib.pyc
51.35 KB
Del
OK
urllib.pyo
51.25 KB
Del
OK
urllib2.py
51.31 KB
Del
OK
urllib2.pyc
47.8 KB
Del
OK
urllib2.pyo
47.71 KB
Del
OK
urlparse.py
16.29 KB
Del
OK
urlparse.pyc
15.51 KB
Del
OK
urlparse.pyo
15.51 KB
Del
OK
user.py
1.59 KB
Del
OK
user.pyc
1.7 KB
Del
OK
user.pyo
1.7 KB
Del
OK
uu.py
6.55 KB
Del
OK
uu.pyc
4.35 KB
Del
OK
uu.pyo
4.35 KB
Del
OK
uuid.py
22.63 KB
Del
OK
uuid.pyc
23.22 KB
Del
OK
uuid.pyo
23.11 KB
Del
OK
warnings.py
14.48 KB
Del
OK
warnings.pyc
13.49 KB
Del
OK
warnings.pyo
12.71 KB
Del
OK
wave.py
18.15 KB
Del
OK
wave.pyc
20.19 KB
Del
OK
wave.pyo
20.05 KB
Del
OK
weakref.py
14.48 KB
Del
OK
weakref.pyc
16.73 KB
Del
OK
weakref.pyo
16.73 KB
Del
OK
webbrowser.py
22.2 KB
Del
OK
webbrowser.pyc
19.86 KB
Del
OK
webbrowser.pyo
19.81 KB
Del
OK
whichdb.py
3.31 KB
Del
OK
whichdb.pyc
2.21 KB
Del
OK
whichdb.pyo
2.21 KB
Del
OK
wsgiref
-
Del
OK
wsgiref.egg-info
187 B
Del
OK
xdrlib.py
5.93 KB
Del
OK
xdrlib.pyc
10.2 KB
Del
OK
xdrlib.pyo
10.2 KB
Del
OK
xml
-
Del
OK
xmllib.py
34.05 KB
Del
OK
xmllib.pyc
26.9 KB
Del
OK
xmllib.pyo
26.9 KB
Del
OK
xmlrpclib.py
50.91 KB
Del
OK
xmlrpclib.pyc
44.81 KB
Del
OK
xmlrpclib.pyo
44.63 KB
Del
OK
zipfile.py
58.08 KB
Del
OK
zipfile.pyc
41.92 KB
Del
OK
zipfile.pyo
41.92 KB
Del
OK
Edit: tempfile.py
"""Temporary files. This module provides generic, low- and high-level interfaces for creating temporary files and directories. All of the interfaces provided by this module can be used without fear of race conditions except for 'mktemp'. 'mktemp' is subject to race conditions and should not be used; it is provided for backward compatibility only. This module also provides some data items to the user: TMP_MAX - maximum number of names that will be tried before giving up. template - the default prefix for all temporary names. You may change this to control the default prefix. tempdir - If this is set to a string before the first use of any routine from this module, it will be considered as another candidate location to store temporary files. """ __all__ = [ "NamedTemporaryFile", "TemporaryFile", # high level safe interfaces "SpooledTemporaryFile", "mkstemp", "mkdtemp", # low level safe interfaces "mktemp", # deprecated unsafe interface "TMP_MAX", "gettempprefix", # constants "tempdir", "gettempdir" ] # Imports. import io as _io import os as _os import errno as _errno from random import Random as _Random try: from cStringIO import StringIO as _StringIO except ImportError: from StringIO import StringIO as _StringIO try: import fcntl as _fcntl except ImportError: def _set_cloexec(fd): pass else: def _set_cloexec(fd): try: flags = _fcntl.fcntl(fd, _fcntl.F_GETFD, 0) except IOError: pass else: # flags read successfully, modify flags |= _fcntl.FD_CLOEXEC _fcntl.fcntl(fd, _fcntl.F_SETFD, flags) try: import thread as _thread except ImportError: import dummy_thread as _thread _allocate_lock = _thread.allocate_lock _text_openflags = _os.O_RDWR | _os.O_CREAT | _os.O_EXCL if hasattr(_os, 'O_NOINHERIT'): _text_openflags |= _os.O_NOINHERIT if hasattr(_os, 'O_NOFOLLOW'): _text_openflags |= _os.O_NOFOLLOW _bin_openflags = _text_openflags if hasattr(_os, 'O_BINARY'): _bin_openflags |= _os.O_BINARY if hasattr(_os, 'TMP_MAX'): TMP_MAX = _os.TMP_MAX else: TMP_MAX = 10000 template = "tmp" # Internal routines. _once_lock = _allocate_lock() if hasattr(_os, "lstat"): _stat = _os.lstat elif hasattr(_os, "stat"): _stat = _os.stat else: # Fallback. All we need is something that raises os.error if the # file doesn't exist. def _stat(fn): try: f = open(fn) except IOError: raise _os.error f.close() def _exists(fn): try: _stat(fn) except _os.error: return False else: return True class _RandomNameSequence: """An instance of _RandomNameSequence generates an endless sequence of unpredictable strings which can safely be incorporated into file names. Each string is six characters long. Multiple threads can safely use the same instance at the same time. _RandomNameSequence is an iterator.""" characters = ("abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "0123456789_") def __init__(self): self.mutex = _allocate_lock() self.normcase = _os.path.normcase @property def rng(self): cur_pid = _os.getpid() if cur_pid != getattr(self, '_rng_pid', None): self._rng = _Random() self._rng_pid = cur_pid return self._rng def __iter__(self): return self def next(self): m = self.mutex c = self.characters choose = self.rng.choice m.acquire() try: letters = [choose(c) for dummy in "123456"] finally: m.release() return self.normcase(''.join(letters)) def _candidate_tempdir_list(): """Generate a list of candidate temporary directories which _get_default_tempdir will try.""" dirlist = [] # First, try the environment. for envname in 'TMPDIR', 'TEMP', 'TMP': dirname = _os.getenv(envname) if dirname: dirlist.append(dirname) # Failing that, try OS-specific locations. if _os.name == 'riscos': dirname = _os.getenv('Wimp$ScrapDir') if dirname: dirlist.append(dirname) elif _os.name == 'nt': dirlist.extend([ r'c:\temp', r'c:\tmp', r'\temp', r'\tmp' ]) else: dirlist.extend([ '/tmp', '/var/tmp', '/usr/tmp' ]) # As a last resort, the current directory. try: dirlist.append(_os.getcwd()) except (AttributeError, _os.error): dirlist.append(_os.curdir) return dirlist def _get_default_tempdir(): """Calculate the default directory to use for temporary files. This routine should be called exactly once. We determine whether or not a candidate temp dir is usable by trying to create and write to a file in that directory. If this is successful, the test file is deleted. To prevent denial of service, the name of the test file must be randomized.""" namer = _RandomNameSequence() dirlist = _candidate_tempdir_list() flags = _text_openflags for dir in dirlist: if dir != _os.curdir: dir = _os.path.normcase(_os.path.abspath(dir)) # Try only a few names per directory. for seq in xrange(100): name = namer.next() filename = _os.path.join(dir, name) try: fd = _os.open(filename, flags, 0o600) try: try: with _io.open(fd, 'wb', closefd=False) as fp: fp.write(b'blat') finally: _os.close(fd) finally: _os.unlink(filename) return dir except (OSError, IOError) as e: if e.args[0] == _errno.EEXIST: continue if (_os.name == 'nt' and e.args[0] == _errno.EACCES and _os.path.isdir(dir) and _os.access(dir, _os.W_OK)): # On windows, when a directory with the chosen name already # exists, EACCES error code is returned instead of EEXIST. continue break # no point trying more names in this directory raise IOError, (_errno.ENOENT, ("No usable temporary directory found in %s" % dirlist)) _name_sequence = None def _get_candidate_names(): """Common setup sequence for all user-callable interfaces.""" global _name_sequence if _name_sequence is None: _once_lock.acquire() try: if _name_sequence is None: _name_sequence = _RandomNameSequence() finally: _once_lock.release() return _name_sequence def _mkstemp_inner(dir, pre, suf, flags): """Code common to mkstemp, TemporaryFile, and NamedTemporaryFile.""" names = _get_candidate_names() for seq in xrange(TMP_MAX): name = names.next() file = _os.path.join(dir, pre + name + suf) try: fd = _os.open(file, flags, 0600) _set_cloexec(fd) return (fd, _os.path.abspath(file)) except OSError, e: if e.errno == _errno.EEXIST: continue # try again if (_os.name == 'nt' and e.errno == _errno.EACCES and _os.path.isdir(dir) and _os.access(dir, _os.W_OK)): # On windows, when a directory with the chosen name already # exists, EACCES error code is returned instead of EEXIST. continue raise raise IOError, (_errno.EEXIST, "No usable temporary file name found") # User visible interfaces. def gettempprefix(): """Accessor for tempdir.template.""" return template tempdir = None def gettempdir(): """Accessor for tempfile.tempdir.""" global tempdir if tempdir is None: _once_lock.acquire() try: if tempdir is None: tempdir = _get_default_tempdir() finally: _once_lock.release() return tempdir def mkstemp(suffix="", prefix=template, dir=None, text=False): """User-callable function to create and return a unique temporary file. The return value is a pair (fd, name) where fd is the file descriptor returned by os.open, and name is the filename. If 'suffix' is specified, the file name will end with that suffix, otherwise there will be no suffix. If 'prefix' is specified, the file name will begin with that prefix, otherwise a default prefix is used. If 'dir' is specified, the file will be created in that directory, otherwise a default directory is used. If 'text' is specified and true, the file is opened in text mode. Else (the default) the file is opened in binary mode. On some operating systems, this makes no difference. The file is readable and writable only by the creating user ID. If the operating system uses permission bits to indicate whether a file is executable, the file is executable by no one. The file descriptor is not inherited by children of this process. Caller is responsible for deleting the file when done with it. """ if dir is None: dir = gettempdir() if text: flags = _text_openflags else: flags = _bin_openflags return _mkstemp_inner(dir, prefix, suffix, flags) def mkdtemp(suffix="", prefix=template, dir=None): """User-callable function to create and return a unique temporary directory. The return value is the pathname of the directory. Arguments are as for mkstemp, except that the 'text' argument is not accepted. The directory is readable, writable, and searchable only by the creating user. Caller is responsible for deleting the directory when done with it. """ if dir is None: dir = gettempdir() names = _get_candidate_names() for seq in xrange(TMP_MAX): name = names.next() file = _os.path.join(dir, prefix + name + suffix) try: _os.mkdir(file, 0700) return file except OSError, e: if e.errno == _errno.EEXIST: continue # try again if (_os.name == 'nt' and e.errno == _errno.EACCES and _os.path.isdir(dir) and _os.access(dir, _os.W_OK)): # On windows, when a directory with the chosen name already # exists, EACCES error code is returned instead of EEXIST. continue raise raise IOError, (_errno.EEXIST, "No usable temporary directory name found") def mktemp(suffix="", prefix=template, dir=None): """User-callable function to return a unique temporary file name. The file is not created. Arguments are as for mkstemp, except that the 'text' argument is not accepted. This function is unsafe and should not be used. The file name refers to a file that did not exist at some point, but by the time you get around to creating it, someone else may have beaten you to the punch. """ ## from warnings import warn as _warn ## _warn("mktemp is a potential security risk to your program", ## RuntimeWarning, stacklevel=2) if dir is None: dir = gettempdir() names = _get_candidate_names() for seq in xrange(TMP_MAX): name = names.next() file = _os.path.join(dir, prefix + name + suffix) if not _exists(file): return file raise IOError, (_errno.EEXIST, "No usable temporary filename found") class _TemporaryFileWrapper: """Temporary file wrapper This class provides a wrapper around files opened for temporary use. In particular, it seeks to automatically remove the file when it is no longer needed. """ def __init__(self, file, name, delete=True): self.file = file self.name = name self.close_called = False self.delete = delete def __getattr__(self, name): # Attribute lookups are delegated to the underlying file # and cached for non-numeric results # (i.e. methods are cached, closed and friends are not) file = self.__dict__['file'] a = getattr(file, name) if not issubclass(type(a), type(0)): setattr(self, name, a) return a # The underlying __enter__ method returns the wrong object # (self.file) so override it to return the wrapper def __enter__(self): self.file.__enter__() return self # NT provides delete-on-close as a primitive, so we don't need # the wrapper to do anything special. We still use it so that # file.name is useful (i.e. not "(fdopen)") with NamedTemporaryFile. if _os.name != 'nt': # Cache the unlinker so we don't get spurious errors at # shutdown when the module-level "os" is None'd out. Note # that this must be referenced as self.unlink, because the # name TemporaryFileWrapper may also get None'd out before # __del__ is called. unlink = _os.unlink def close(self): if not self.close_called: self.close_called = True try: self.file.close() finally: if self.delete: self.unlink(self.name) def __del__(self): self.close() # Need to trap __exit__ as well to ensure the file gets # deleted when used in a with statement def __exit__(self, exc, value, tb): result = self.file.__exit__(exc, value, tb) self.close() return result else: def __exit__(self, exc, value, tb): self.file.__exit__(exc, value, tb) def NamedTemporaryFile(mode='w+b', bufsize=-1, suffix="", prefix=template, dir=None, delete=True): """Create and return a temporary file. Arguments: 'prefix', 'suffix', 'dir' -- as for mkstemp. 'mode' -- the mode argument to os.fdopen (default "w+b"). 'bufsize' -- the buffer size argument to os.fdopen (default -1). 'delete' -- whether the file is deleted on close (default True). The file is created as mkstemp() would do it. Returns an object with a file-like interface; the name of the file is accessible as its 'name' attribute. The file will be automatically deleted when it is closed unless the 'delete' argument is set to False. """ if dir is None: dir = gettempdir() if 'b' in mode: flags = _bin_openflags else: flags = _text_openflags # Setting O_TEMPORARY in the flags causes the OS to delete # the file when it is closed. This is only supported by Windows. if _os.name == 'nt' and delete: flags |= _os.O_TEMPORARY (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags) try: file = _os.fdopen(fd, mode, bufsize) return _TemporaryFileWrapper(file, name, delete) except BaseException: _os.unlink(name) _os.close(fd) raise if _os.name != 'posix' or _os.sys.platform == 'cygwin': # On non-POSIX and Cygwin systems, assume that we cannot unlink a file # while it is open. TemporaryFile = NamedTemporaryFile else: def TemporaryFile(mode='w+b', bufsize=-1, suffix="", prefix=template, dir=None): """Create and return a temporary file. Arguments: 'prefix', 'suffix', 'dir' -- as for mkstemp. 'mode' -- the mode argument to os.fdopen (default "w+b"). 'bufsize' -- the buffer size argument to os.fdopen (default -1). The file is created as mkstemp() would do it. Returns an object with a file-like interface. The file has no name, and will cease to exist when it is closed. """ if dir is None: dir = gettempdir() if 'b' in mode: flags = _bin_openflags else: flags = _text_openflags (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags) try: _os.unlink(name) return _os.fdopen(fd, mode, bufsize) except: _os.close(fd) raise class SpooledTemporaryFile: """Temporary file wrapper, specialized to switch from StringIO to a real file when it exceeds a certain size or when a fileno is needed. """ _rolled = False def __init__(self, max_size=0, mode='w+b', bufsize=-1, suffix="", prefix=template, dir=None): self._file = _StringIO() self._max_size = max_size self._rolled = False self._TemporaryFileArgs = (mode, bufsize, suffix, prefix, dir) def _check(self, file): if self._rolled: return max_size = self._max_size if max_size and file.tell() > max_size: self.rollover() def rollover(self): if self._rolled: return file = self._file newfile = self._file = TemporaryFile(*self._TemporaryFileArgs) del self._TemporaryFileArgs newfile.write(file.getvalue()) newfile.seek(file.tell(), 0) self._rolled = True # The method caching trick from NamedTemporaryFile # won't work here, because _file may change from a # _StringIO instance to a real file. So we list # all the methods directly. # Context management protocol def __enter__(self): if self._file.closed: raise ValueError("Cannot enter context with closed file") return self def __exit__(self, exc, value, tb): self._file.close() # file protocol def __iter__(self): return self._file.__iter__() def close(self): self._file.close() @property def closed(self): return self._file.closed def fileno(self): self.rollover() return self._file.fileno() def flush(self): self._file.flush() def isatty(self): return self._file.isatty() @property def mode(self): try: return self._file.mode except AttributeError: return self._TemporaryFileArgs[0] @property def name(self): try: return self._file.name except AttributeError: return None def next(self): return self._file.next def read(self, *args): return self._file.read(*args) def readline(self, *args): return self._file.readline(*args) def readlines(self, *args): return self._file.readlines(*args) def seek(self, *args): self._file.seek(*args) @property def softspace(self): return self._file.softspace def tell(self): return self._file.tell() def truncate(self): self._file.truncate() def write(self, s): file = self._file rv = file.write(s) self._check(file) return rv def writelines(self, iterable): file = self._file rv = file.writelines(iterable) self._check(file) return rv def xreadlines(self, *args): if hasattr(self._file, 'xreadlines'): # real file return iter(self._file) else: # StringIO() return iter(self._file.readlines(*args))
Save