import sys def main(): print 'exiting' sys.exit()
try: main() except SystemExit: pass > I suspect I may need to use exceptions, but I'm hoping > not to need them. Thanks. Use the Exceptions! -- http://mail.python.org/mailman/listinfo/python-list
import sys def main(): print 'exiting' sys.exit()
try: main() except SystemExit: pass > I suspect I may need to use exceptions, but I'm hoping > not to need them. Thanks. Use the Exceptions! -- http://mail.python.org/mailman/listinfo/python-list