How can I make sure my python exit

bearophileHUGS at bearophileHUGS at
Wed Apr 4 22:46:53 CEST 2007

> Typically when the last piece of code executes, the program ends. You
> could import sys and explicitly exit by calling sys.exit(0).
> Mike

raise SystemExit
works too.


More information about the Python-list mailing list