This repo provides an example of how to create a single-file Windows executable from a Python app using PyInstaller. The general approach is largely based on Luke Lee's excellent Real Python article ...
from repyexe.decompile import decompile_exe decompile_exe("samples/khaki.exe") The version of Python used must be the same minor version as the one used to compile ...