Answers for "open chrome from python"

0

launch google chrome using python

import webbrowser

url = 'https://meet.google.com/rhj-yyzz-com'
webbrowser.register('chrome',
	None,
	webbrowser.BackgroundBrowser("C://Program Files (x86)//Google//Chrome//Application//chrome.exe"))
webbrowser.get('chrome').open(url)
Posted by: Guest on July-03-2021
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

Code answers related to "open chrome from python"

Python Answers by Framework

Browse Popular Code Answers by Language