I've been working on a very simple python/tkinter script (a .pyw file) and I'd like to change it's application icon (the 'file' icon shown at the explorer window and the start/all programs window, for example - not the 'file type' icon nor the main window of the app icon) and the taskbar icon (the icon shown at the taskbar when the application is minimized). Is it possible to change them or is it something only doable when you effectively install an application through an .exe?
This little app is supposed to run on Windows XP / 7 machines only and it's in Python 2.7.3.
Thanks in advance!
add
--icon=iconname.ico
to the pyinstaller command in the prompt
eg>> pyinstaller --windowed  --add-data "pics/myicon.ico;pics" --add-data "pics/*.png;pics" --icon=pics/myicon.ico -d bootloader myscript.py
this will show your icon on the windows taskbar instead of the default python pkg icon
Changing the application and taskbar icon - Python/Tkinter