What is the Difference Between quit() and exit() commands in Python?
wesley at freenetmail.de
wesley at freenetmail.de
Mon Sep 16 08:43:38 EDT 2019
Hi
exit (http://docs.python.org/2/library/constants.html#exit" rel="noreferrer) is an alias for quit (or vice-versa). They exist together simply to make Python more user-friendly.
please refer: https://stackoverflow.com/questions/19747371/python-exit-commands-why-so-many-and-when-should-each-be-used (https://stackoverflow.com/questions/19747371/python-exit-commands-why-so-many-and-when-should-each-be-used)
> -----ursprüngliche Nachricht-----
> Von: hongyi.zhao at gmail.com (mailto:hongyi.zhao at gmail.com)
> Gesendet: 16.09.2019 14:35 Uhr
> An: python-list at python.org (mailto:python-list at python.org)
> Betreff: What is the Difference Between quit() and exit() commands in Python?
> What is the Difference Between quit() and exit() commands in Python?
> --
> mail.python.org/mailman/listinfo/python-list (https://mail.python.org/mailman/listinfo/python-list" target="_blank" rel="noopener)
> -----ursprüngliche Nachricht Ende-----
More information about the Python-list
mailing list