It seems that python supports many different commands to stop script execution.
The choices I’ve found are: quit()
, exit()
, sys.exit()
, os._exit()
Have I missed any?
What’s the difference between them? When would you use each?
It seems that python supports many different commands to stop script execution.
The choices I’ve found are: quit()
, exit()
, sys.exit()
, os._exit()
Have I missed any?
What’s the difference between them? When would you use each?