difference between quit and exit in python
The short answer is: both exit() and quit() are instances of the same Quitter class, the difference is in naming only, that must be added to increase user-friendliness of the interpreter. For more details let’s check out the source: http://hg.python.org/cpython In Lib/site.py (python-2.7) we see the following: def setquit(): “””Define new builtins ‘quit’ and ‘exit’. … Read more