Skip to content

Instantly share code, notes, and snippets.

@Nicksil
Last active December 17, 2015 15:29
Show Gist options
  • Save Nicksil/5632051 to your computer and use it in GitHub Desktop.
Save Nicksil/5632051 to your computer and use it in GitHub Desktop.
Repeat function using time.sleep()
import time
def execute_something():
# code
time.sleep(60)
while True:
execute_something()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment