how to apply for all time.sleep lines python few seconds code example Example: how to set time.sleep(2) on instapy from time import sleep from random import randint