python pause running script code example
Example 1: pause program python
# To delay excusion use the time library
import time
time.sleep(secs)
Example 2: python kill script
import sys
sys.exit()
# To delay excusion use the time library
import time
time.sleep(secs)
import sys
sys.exit()