I want to exit from the python console from the program itself. The following link starts the console https://www.pythonanywhere.com/user/hemantjha/files/home/hemantjha/hello.py?run
In the hello.py I have sys.exit() in the end. I am expecting it to exit the python console when the program execution ends. Currently it doesn't do that. The python console remains active and I have to kill it from the console tab. How can I exit from the python console once I start it up.