BiscottiGummyBears BiscottiGummyBears - 11 months ago 86
Python Question

Python 3 Get HTTP page

How can I get python to get the contents of an HTTP page? So far all I have is the request and I have imported http.client.


Using urllib.request is probably the easiest way to do this:

import urllib.request
f = urllib.request.urlopen("")