osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is the Difference Between quit() and exit() commands in Python?


                       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-----