Quitting my program

Justin Sheehy dworkin at ccs.neu.edu
Tue Jan 4 11:05:54 EST 2000


volumeregeling at hotmail.com (volumeregeling) writes:

> I have a problem ,I don´t know how to stop my program from a function.

Either:

import sys
sys.exit()

or:

raise SystemExit

will cause Python to silently exit.

-Justin

 





More information about the Python-list mailing list