Open a web page with Python
import webbrowser
chrome = "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s"
link = "www.google.com"
webbrowser.get(chrome).open(link)
How to program with the python language together with tkinter, pygame etc.
import webbrowser
chrome = "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s"
link = "www.google.com"
webbrowser.get(chrome).open(link)
Comments
Post a Comment