I tried running a python script, but it immediately closes when it encounters an error. Is there a way to stop the console window from closing after an error without using a batch file and without typing this command:
C:\WINDOWS\system32\cmd.exe /K <command>
By the way, adding try and except still doesn't stop the console window from closing. Even using:
except:
sys.exit(0)