python print html as a string

Solutions on MaxInterview for python print html as a string by the best coders in the world

showing results for - "python print html as a string"
Elisa
28 Mar 2017
1import requests
2page = requests.get(url)
3print(page.text.encode("utf8"))
similar questions
queries leading to this page
python print html as a string