Exe to python with pyinstaller?

醉酒当歌 提交于 2019-12-06 04:56:48

问题


So I made a huge mistake and deleted my code file (python). The only thing I have is my python file as .exe that I created with pyinstaller. Is there a way to reverse this and to extract my code file from .exe?


回答1:


You can extract the contents of the .exe file using PyInstaller Extractor. Run it like this:

python pyinstxtractor.py executable.exe

You will then get a bunch of files, including your original python file.



来源:https://stackoverflow.com/questions/36581073/exe-to-python-with-pyinstaller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!