"""
Use python open browser after two hours
"""
#-*- coding:utf8 -*-
import time
import webbrowser
total_break = 3
break_count = 0
print("This Program started on " + time.ctime()) #time.ctime get the current time
while break_count <total_break:
time.sleep(2*60*60) #execute the action after Two hours
webbrowser.open("http://www.sina.com.cn")
break_count += 1