Answers for "how to open youtube from google chrome browser instead of internet explorerwhen coding in python"

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
0

how to open youtube from google chrome browser instead of internet explorerwhen coding in python

webbrowser.get('chrome').open('https://www.youtube.com')
Posted by: Guest on May-18-2020

Code answers related to "how to open youtube from google chrome browser instead of internet explorerwhen coding in python"

Python Answers by Framework

Browse Popular Code Answers by Language