On Wed, Oct 14, 2009 at 8:53 PM, Peng Yu <pengyu...@gmail.com> wrote:
> I have the following python code snippet. I'm wondering what command I
> should use to terminate the program if the arguments are not right.

I usually use sys.exit.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to