How to stop running Python .pyw script which doesn't have GUI window?
问题 I have created a script in python and saved it as .pyw file so that I don't need console to execute the script. I am wondering how to stop the execution once it is running. What I am doing right now is opening the IDLE and closing it and it seems to work. I am sure there is a better way of doing this. Can somebody advise me about this? 回答1: As it says in the docs The Python installer automatically associates .py files with python.exe so that a double-click on a Python file will run it as a