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

Miki miki.tebeka at gmail.com
Mon Dec 15 20:52:34 EST 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