Quote:
Originally Posted by phdnofuddy
I double-click on ineptkey.pyw and get nothing. Help please?
Not sure if this helps, but in Explorer the "type" attribute said "Python file (no console)" when I first saved the code pasted into Notepad as a .pyw file and in the "open with" dialog, the file was associated with "pythonw".
I also used "open with" dialog to change the default program to "python" and the type attribute changed to "PYW File", but still nothing on double-click, except the python command window opened briefly and then disappeared.
|
PYW files are used in Windows to indicate a script needs to be run using PYTHONW.EXE instead of PYTHON.EXE in order to prevent a DOS console from popping up to display the output. So you need to use PYTHONW.EXE for opening your PYW files.