A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/339112.html below:

How to decompile an exe file compiled by py2exe?

How to decompile an exe file compiled by py2exe? How to decompile an exe file compiled by py2exe?Jean-François Doyon jfdoyon at methane.ca
Sat Sep 24 09:41:00 EDT 2005
Last I looked, py2exe only kept the byte-compiiled versions of your 
files, and not the raw source.

py2exe is just an archive, you can open it up in WinZip for example
and see your .pyc/pyo files.

That gets you part of the way there ... Then you would need to find a 
way to "disassemble" the byte-code.

There's this:

http://docs.python.org/lib/module-dis.html

and

http://users.cs.cf.ac.uk/J.P.Giddy/python/decompiler/decompiler.html

for inspiration ...

Doesn't look easy though.

J.F.

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

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4