Skip to content

Instantly share code, notes, and snippets.

@bf4
Forked from bmaca/reminder.py
Created November 25, 2015 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bf4/ce4466a6d12bd8369f31 to your computer and use it in GitHub Desktop.
Save bf4/ce4466a6d12bd8369f31 to your computer and use it in GitHub Desktop.
A python program to remind you to take a break every hour on your 8 hour work shift ;)
import time
import webbrowser
total_breaks = 8
break_count = 0
while (break_count < total_breaks):
time.sleep(3600)
webbrowser.open("https://31.media.tumblr.com/288d6e631cd930de65547ef5044fefb8/tumblr_mlksb86paT1qbuvyto1_500.gif")
break_count = break_count + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment