11.8. Fetching Something From The Web

The Python libraries are pretty messy in places. But here is a very simple example that copies the contents at some web URL to a local file. We will need to get a few things right before this works:

We will try to retrieve the content of the HTML of this page as in the following code.

You have attempted of activities on this page