Oct-09-2022, 07:45 AM
Hi,
Not a showstopping question, but very confusing.
I can make an executable like so : pyinstaller --onefile --clean --windowed MYprogram.py ==> ...dist\MYprogram.exe
Now I want to show a clickable icon for this program on the windows desktop.
I have manufactured an icon: MYicon.ico
The more I read on how to do this , the more confusing it gets
It must be something like :
pyninstaller --onefile --clean --icon??????? --windowed MYprogram.py
By what magic does the icon suddenly appear on the desktop?
thanks,
Paul
Not a showstopping question, but very confusing.
I can make an executable like so : pyinstaller --onefile --clean --windowed MYprogram.py ==> ...dist\MYprogram.exe
Now I want to show a clickable icon for this program on the windows desktop.
I have manufactured an icon: MYicon.ico
The more I read on how to do this , the more confusing it gets

It must be something like :
pyninstaller --onefile --clean --icon??????? --windowed MYprogram.py
By what magic does the icon suddenly appear on the desktop?
thanks,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.