PE creates invalid pyc files
Extract contents of a Windows executable file created by pyinstaller
Brought to you by:
extremecoders
When extracting compiled python files from the *.pyz (inside some pyinstaller *.exe) these *.pyc are corrupted. They don't run and even made the decompiler crashing.
First I thought it's a just a bug in Decompyle++ however it turned out, that both need some tiny improvements.
It's an issue for Python 3.3 and above files
All details are here:
https://github.com/zrax/pycdc/issues/73
Quick fixed the issue by adding these two lines:
Thanks. Issue has been fixed in version 1.4.