I have an application I run using pythonw.exe
. I just click on my .pyw
file and it runs. It's using Qt and I have set up an icon that both shows in the window and in the taskbar.
However when I try to pin it, it pins the python IDLE incorrectly instead of the application itself. It makes some sense since it is a python file run from pythonw.exe
. Example below:
So how do I proceed to run the application the right way so I can pin it to the taskbar?
"path\to\pythonw.exe" "path\to\script.pyw"
. Otherwise you could use PyInstaller to freeze your script as an executable. – Isabel