How can I return a non-zero status result from a python script?

Miki miki.tebeka at gmail.com
Tue Dec 16 02:52:34 CET 2008


Hello,

> How can I return a non-zero status result from the script? Just do a
> return 1? at the end?
raise SystemExit(1)

HTH,
--
Miki <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com



More information about the Python-list mailing list