-
-
Save timbec/6d9cb07a679560382bf6b8da9b5c1eeb to your computer and use it in GitHub Desktop.
A little python script to refresh a given URL every 10 seconds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
import webbrowser | |
from time import sleep | |
url = input('Input the URL to reload, including "http://: ') | |
while True: | |
print("refreshing...") | |
webbrowser.open(url, new=0) | |
sleep(10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment