Exe to python with pyinstaller?

前端 未结 1 1783
眼角桃花
眼角桃花 2021-01-05 17: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 a

相关标签:
1条回答
  • 2021-01-05 18:50

    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.

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