How to open html file?

import codecs
f=codecs.open("test.html", 'r')
print f.read()

Try something like this.

Leave a Comment