Reputation: 195
How do I convert a EXE file created with PyInstaller back to a .py
file?
I already tried python-exe-unpack-master
, but that didn't work. Further I've seen this article: How do you reverse engineer an EXE "compiled" with PyInstaller but I don't know how to extract the EXE's append data.
Is there a other way? Or can someone explain me more about the method I gave.
Upvotes: 1
Views: 11739
Reputation: 1836
You can extract the contents of the .exe file using PyInstaller Extractor. Run it like this:
python pyinstxtractor.py executable.exe
You will get your python file.
Upvotes: 2