I double click on my python file, which simply prints Hello world but it only a black thing flashed and disappears. The terminal is not opened. My other PC works fine.
I need to do it this way since the Task Scheduler show the same black thing flash when I run task on executing python script.
I spent 2 hours searching around for solution but nothing works.
My file is C:\temp.py and If I open cmd navigate to this file, it will be executed correctly ( cd C:\ ; then C:\temp.py )
I remove the 3.11 version to install 3.7 version and still not work.
Any help is very much appreciated.
Hong
python temp.pyto see what happens?input("Enter to continue")at the start and again at the end ... when you double click it opens and runs and closes before you can see it is really the issue