Bundling to a Single File
suggest changepyinstaller myscript.py -F
The options to generate a single file are -F
or --onefile
. This bundles the program into a single myscript.exe
file.
Single file executable are slower than the one-folder bundle. They are also harder to debug.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents