July 16th, 2010, 06:53 AM
Need of python decompiler
I want to decompile an python application which consits of pyc files.
Since i am working in a conversion project .. from python to java
i need to decompile pyc files to py files.
The application contains number of pyc files.
Any decompiler or free decompiling source available in the internet .
I have tried depython.net and .com but not much of help.
Is there any command to decompile pyc files to py files
Kindly advice me to solve this issue
July 16th, 2010, 09:03 AM
The dis module can disassemble the bytecode into a human-readable representation (of the bytecode, that is). Hand-decompiling all that could take longer than rewriting the whole thing, though.
There are a few python decompilers spread across the web, but most are old (like, several years since the last change) and about every remotely interesting one is commercial. Stackoverflow had that topic quite a while ago: