python request get html code
snippet in html

python request get html code

user6539

# from http://zetcode.com/python/requests/
import requests as req

resp = req.get("http://www.webcode.me")

print(resp.text)