Answers for "how to open html page in python in browser"

15

how to open a website in python

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

how to open html file in python

file = codecs.open("sample.html", "r", "utf-8")
Posted by: Guest on April-23-2021

Code answers related to "how to open html page in python in browser"

Python Answers by Framework

Browse Popular Code Answers by Language