On Tue, 05 Oct 2010 11:13:53 +0800, Von wrote:

> Try to use sys.exit(0)
> Maybe you should print out the error in your except block.

Not exiting with a status-code of 0 is no more helpful than not exiting 
with a status-code of 1.

It's actually *less* helpful, if the intention is actually to exit with a 
non-zero exit status.



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

Reply via email to