Python source code recovery from exe

前端 未结 1 662
慢半拍i
慢半拍i 2020-12-21 08:57

I had a python program written which I converted to an exe binary using py2exe. I have all of the files generated in the dist folder but due to a system crash, I lost the so

相关标签:
1条回答
  • 2020-12-21 09:02

    According to the following links, you can extract your .pyc files from library.zip and then use decompyle to obtain .py files similar to what you started with.

    http://bytes.com/topic/python/answers/101743-py2exe-there-way-go-backwards-exe2py

    http://sourceforge.net/projects/decompyle/

    Hope it works, and I hope you use github or bitbucket next time.

    0 讨论(0)
提交回复
热议问题