cara membuka file html lokal di python

import codecs
file = codecs.open("sample.html", "r", "utf-8")
print(file.read())
Super Salamander