Can't Execute Pyw On Windows
I want to hide the console window of a python program, so I change the file extensions to 'pyw', but when I open it, the python IDLE show up even though I choose open it with 'pyth
Solution 1:
Change the program that opens python files.
Assuming you're using Windows, right click any python file (in your case any .pyw file, not .py), properties, change Opens with to pythonw instead of IDLE
Solution 2:
For me, I had multiple version of Python installed that was causing issues. Once I had only had one version, I applied that pythonw.exe was the default for .pyw files and it worked.
Post a Comment for "Can't Execute Pyw On Windows"