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