Answers for "python webbrowser open chrome"

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

how to make html files open in chrome using python

// Also, use the absolute path of the file:

webbrowser.open('file://' + os.path.realpath(filename))
Posted by: Guest on January-01-2021
0

python open google

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

Code answers related to "python webbrowser open chrome"

Python Answers by Framework

Browse Popular Code Answers by Language