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
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