Saturday, April 2, 2016

Terminating a Python script

http://stackoverflow.com/questions/73663/terminating-a-python-script

I use:

import sys
sys.exit(0)

all the time, but I have never used:

quit()

I might have to experiment with this.

No comments: