how to open a html file on chrome python code example
Example: 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))
// Also, use the absolute path of the file:
webbrowser.open('file://' + os.path.realpath(filename))