How do you quit or halt a python program without the error messages showing?
I have tried quit(), exit(), systemexit(), raise SystemExit, and others but they all seem to raise an error message saying the program has been halted. How do I get rid of this?
try...except...Process finished with exit code 0sys.exit()orexit()then it ends program without any error message in terminal on Linux. How do your run script ? Where do you run this script ?Maybe message is not from script but from program which runs script.