Answers for "open html in browser python"

0

how to make html files open in chrome using python

// Also, use the absolute path of the file:

webbrowser.open('file://' + os.path.realpath(filename))
Posted by: Guest on January-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language