Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #files #open #chrome #python
ADD COMMENT
Topic
Name
8+2 =