Answers for "how to open link in python"

15

how to open a website in python

import webbrowser
webbrowser.open('https://www.google.co.uk/')
Posted by: Guest on April-27-2020
5

python open link in browser

import webbrowser

webbrowser.open_new('http://www.facebook.com')
Posted by: Guest on August-22-2020
0

how to make python open a link

import urllib

fun open():
    return urllib.urlopen('http://example.com')
Posted by: Guest on May-17-2021

Python Answers by Framework

Browse Popular Code Answers by Language