how to set time.sleep(2) on instapy code example Example: how to set time.sleep(2) on instapy from time import sleep from random import randint