python open file in browser 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))