

UserSleepTime = int(input("How long do you want it to run?")) UserBrowserC = input(str("Browser Type: chrome, opera, iexplore, firefox : "))

I actually changed it some more here it is updated since I am still working on this launcher import time Webbrowser.get(chrome_path).open_new_tab(game_site_link) import timeĬhrome_path_windows = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'Ĭhrome_path_linux = '/usr/bin/google-chrome %s'Ĭhrome_path_mac = 'open -a /Applications/Google\ Chrome.app %s' If none are found it opens default browser to your link. If it finds a match it sets the chrome path for you.

Checks it against known values for different operating systems. Made this for a game I play, it was relevant so i'm leaving it.
