def open_link_5(): Current_time = time.strftime("%H:%M:%S") if Current_time != timer_5: while Current_time != timer_5: print("Wed Waiting for timer_5") print("Waiting, the current time is " + Current_time + " :-( ") Current_time = time.strftime("%H:%M:%S") time.sleep(1) if Current_time == timer_5: webbrowser.open(link_5) from linkbot_thursday import open_link_1 open_link_1()
def opener_0(): if link_count == 0: open_link_1()