Answers for "python load local html file"

1

how to open local html file in python

import codecs
file = codecs.open("sample.html", "r", "utf-8")
print(file.read())
Posted by: Guest on September-23-2020

Python Answers by Framework

Browse Popular Code Answers by Language