Use Pyinstaller To Creat EXE
-
Creat New Folder
-
Put file in to New Foder
file:py、ico
-
Open powershell
-
Input Command
Pyinstaller -F -w -i="replace.ico" source.py-F, --onefile Create a one-file bundled executable. -D, --onedir Create a one-folder bundle containing an executable (default) -w, --windowed, --noconsole Windows and Mac OS X: do not provide a console window for standard -i FILE.ico: apply the icon to a Windows executable -h, --help show this help message and exit -
Close powershell
-
Completed successfully
浙公网安备 33010602011771号