Scott Simpson wrote:

> Lastly, is there an equivalent of Perl's "die" function? I'm writing to
> stderr and dieing above but I'm not quite sure if this is the "correct"
> way.

You can call sys.exit() with a string. Python will print it to stderr and
terminate with a nonzero exit status.

Peter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to