#86 Stop execution of python script?

import sys
sys.exit("Error message")
from sys import exit
exit(0) # Successful exit

Discover more from Tips and Hints for Aerospace Engineers

Subscribe now to keep reading and get access to the full archive.

Continue reading