You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08: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()
|