I have only learned a couple of ways to cause a Python program to exit:
sys.exit(0)  &  raise.SystemExit .  I am using this in a try/except block.
Which is preferred?  Are there other, better ways?


Thanks,
Bill Allen
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to