- urllib
get HTML page using urllib
urllib is a rather low level library. It comes standard with Python.
examples/web-client/with_urllib.py
import urllib.request # fh is like a filehandle with urllib.request.urlopen('https://python.org/') as fh: html = fh.read() print(html)