import webbrowser #create an infinate loop and keep opening the internet i = 0 while(i == 0): webbrowser.open("https://google.com")