Answers for "how to open new browser tab with python webbrowser"

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 open youtube from google chrome browser instead of internet explorerwhen coding in python

>>> import webbrowser as wb
>>> wb.register('chrome', None)
>>> wb.open('https://www.youtube.com')
True
>>> wb.open('https://www.google.com')
True
>>> wb.open('https://stackoverflow.com')
True
Posted by: Guest on May-18-2020

Code answers related to "how to open new browser tab with python webbrowser"

Python Answers by Framework

Browse Popular Code Answers by Language