How to decompile an exe file compiled by py2exe?

Thomas Jollans nospam at jollans.com
Sat Sep 24 10:07:55 CEST 2005


Leo Jay wrote:
> Dear All,
> 
> I lost my source code because of my incaution.
> so anyone can tell me how to decompile the exe file compiled by py2exe?
> 
> Thanks.
> 
> --
> Best Regards,
> Leo Jay

If you find a program that de-compiles exe to python, it will most 
likely use very ugly, c-like python because a microchip is no python 
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 might better to re-write it...




More information about the Python-list mailing list