Answers for "python open links in browser"

5

python open link in browser

import webbrowser

webbrowser.open_new('http://www.facebook.com')
Posted by: Guest on August-22-2020
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

Python Answers by Framework

Browse Popular Code Answers by Language