mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-11-26 22:50:40 +00:00
19 lines
366 B
Python
Executable File
19 lines
366 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from __future__ import print_function
|
|
|
|
from uncompyle6.main import decompile
|
|
from xdis import sysinfo2float
|
|
import sys, inspect
|
|
|
|
def uncompyle_test():
|
|
frame = inspect.currentframe()
|
|
try:
|
|
co = frame.f_code
|
|
decompile(sysinfo2float(), co, sys.stdout, 1, 1)
|
|
print()
|
|
finally:
|
|
del frame
|
|
|
|
uncompyle_test()
|