I have a somewhat complex Python file that is literally 14K, when saved as a .py file. I used the following technique to convert it into an executable:
pyinstaller.exe --onefile MyCode.py
Now, the executable is 309MB. I deployed it to a VM, ran it, and it works fine. However, I'm questioning the bloat; does this make any sense?