Python: Exit script

To terminate or stop a Python script, use:

import sys

sys.exit()

[ Source ]

 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog