BiscottiGummyBears BiscottiGummyBears - 2 years ago 192
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.

Answer Source

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

import urllib.request
f = urllib.request.urlopen("")
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download