How to decompile an exe file compiled by py2exe?
Ivan Voras
ivoras at __yahoo.org__
Sat Sep 24 07:05:20 EDT 2005
Thomas Jollans wrote:
> interpreter. This is based on the assumption that py2exe really
> generates a pure exe and not an exe that interprets bytecode python.
> be that the case, it may yield decent results, but ugly nontheless.
It is - py2exe embeds python bytecodes. It seems it does it in the
"library.zip" file (if I'm reading
http://starship.python.net/crew/theller/moin.cgi/Py2Exe correctly).
Bytecode files extracted should be decompilable to something resembling
original python code by a python decompiler (quick Googling finds
"decompyle": http://www.crazy-compilers.com/).
More information about the Python-list
mailing list