I need to convert a compiled python code (.pyo) to its source . I look in depython.net, but there is a problem. A warning;
"File version older than 2.4."
What should I do?
Thanks.
try these:
uncompyle2 converts Python byte-code back into equivalent Python source code. It accepts byte-code from Python version 2.5 to 2.7. Additionally, it will only run on Python 2.7.
uncompyle6 translates Python bytecode back into equivalent Python source code. It accepts bytecodes from Python version 1.5
to 3.7
or so including Pypy-generated bytecode. The code requires Python 2.4 or later and has been tested on Python running versions 2.4, 2.5, 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 and 3.6
.
Try decompyle.
This has become a commercial service.
To experiment with it you can use Debian Packages.
I would have loved to try it but I am on a windows machine. I will try it as soon as I get a chance.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With