python pause a function half way through code example Example: pause program python # To delay excusion use the time library import time time.sleep(secs)