A Simple Script to open a browser every two hours
#Script to open youtube after every 2hours
import webbrowser
import time
total_breaks = 3
break_counter = 1
while(break_counter <= total_breaks):
time.sleep(2*60*60)
webbrowser.open("http://www.youtube.com")
break_counter = break_counter+1
import webbrowser
import time
total_breaks = 3
break_counter = 1
while(break_counter <= total_breaks):
time.sleep(2*60*60)
webbrowser.open("http://www.youtube.com")
break_counter = break_counter+1
Comments
Post a Comment