Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 18.217.0.242
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
Demo /
parser /
Delete
Unzip
Name
Size
Permission
Date
Action
FILES
91
B
-rw-r--r--
2020-04-19 21:13
README
1.01
KB
-rw-r--r--
2020-04-19 21:13
docstring.py
27
B
-rw-r--r--
2020-04-19 21:13
docstring.pyc
175
B
-rw-r--r--
2024-04-10 04:58
docstring.pyo
175
B
-rw-r--r--
2024-04-10 04:58
example.py
5.59
KB
-rw-r--r--
2020-04-19 21:13
example.pyc
7.04
KB
-rw-r--r--
2024-04-10 04:58
example.pyo
7.04
KB
-rw-r--r--
2024-04-10 04:58
simple.py
29
B
-rw-r--r--
2020-04-19 21:13
simple.pyc
279
B
-rw-r--r--
2024-04-10 04:58
simple.pyo
279
B
-rw-r--r--
2024-04-10 04:58
source.py
741
B
-rw-r--r--
2020-04-19 21:13
source.pyc
1.55
KB
-rw-r--r--
2024-04-10 04:58
source.pyo
1.55
KB
-rw-r--r--
2024-04-10 04:58
test_parser.py
1.16
KB
-rwxr-xr-x
2024-04-10 04:57
test_parser.pyc
1.41
KB
-rw-r--r--
2024-04-10 04:58
test_parser.pyo
1.41
KB
-rw-r--r--
2024-04-10 04:58
test_unparse.py
5.44
KB
-rw-r--r--
2020-04-19 21:13
test_unparse.pyc
8.45
KB
-rw-r--r--
2024-04-10 04:58
test_unparse.pyo
8.45
KB
-rw-r--r--
2024-04-10 04:58
unparse.py
16.85
KB
-rw-r--r--
2020-04-19 21:13
unparse.pyc
23.44
KB
-rw-r--r--
2024-04-10 04:58
unparse.pyo
23.36
KB
-rw-r--r--
2024-04-10 04:58
Save
Rename
#! /usr/bin/python2.7 # (Force the script to use the latest build.) # # test_parser.py import parser, traceback _numFailed = 0 def testChunk(t, fileName): global _numFailed print '----', fileName, try: st = parser.suite(t) tup = parser.st2tuple(st) # this discards the first ST; a huge memory savings when running # against a large source file like Tkinter.py. st = None new = parser.tuple2st(tup) except parser.ParserError, err: print print 'parser module raised exception on input file', fileName + ':' traceback.print_exc() _numFailed = _numFailed + 1 else: if tup != parser.st2tuple(new): print print 'parser module failed on input file', fileName _numFailed = _numFailed + 1 else: print 'o.k.' def testFile(fileName): t = open(fileName).read() testChunk(t, fileName) def test(): import sys args = sys.argv[1:] if not args: import glob args = glob.glob("*.py") args.sort() map(testFile, args) sys.exit(_numFailed != 0) if __name__ == '__main__': test()