AW: [Python-de] Skript nach exception beenden

Gerson Kurz Gerson.Kurz at t-online.de
Tue Aug 27 19:35:04 EDT 2002


>>> import sys
>>> print sys.exit.__doc__
exit([status])

Exit the interpreter by raising SystemExit(status).
If the status is omitted or None, it defaults to zero (i.e., success).
If the status is numeric, it will be used as the system exit status.
If it is another kind of object, it will be printed and the system
exit status will be one (i.e., failure).





More information about the Python-de mailing list