python3 open local html code example
Example: how to open local html file in python
import codecs
file = codecs.open("sample.html", "r", "utf-8")
print(file.read())
import codecs
file = codecs.open("sample.html", "r", "utf-8")
print(file.read())