gracefully quit

Anthony DeLorenzo gonzo at vex.net
Tue Mar 14 20:00:17 CET 2000


>> 	raise SystemExit
>> also works.
>
>   It is a little ugly :) sys.exit() is nicer and more readable :)))

At the same point, raise SystemExit saves importing a module, unless
you already happen to have the sys module loaded for something else.

Tony

-- 
# Anthony DeLorenzo <drgonzo at canada.com>
# http://www.vex.net/~gonzo/
# mojo wire: 209-391-8932



More information about the Python-list mailing list