I have just started with Python. When I execute a python script file on Windows, the output window appears but instantaneously goes away. I need it to stay there so I can an
The simplest way:
import time #Your code here time.sleep(60) #end of code (and console shut down)
this will leave the code up for 1 minute then close it.