how to add icon to pyinstaller code example Example: pyinstaller icon image pyinstaller.exe --icon=test.ico -F --noconsole test.py