Answers for "python open chrome website"

0

python open google

#Open google in python - Windows
import webbrowser
url='https://google.com'
webbrowser.get('C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s').open(url)
Posted by: Guest on November-01-2020
0

python open google

#Open google in python - MacOSX
import os
os.system("open https://google.com")
Posted by: Guest on November-01-2020

Python Answers by Framework

Browse Popular Code Answers by Language