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?

4 s
4

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *