Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Read the HTML File | Getting Acquainted with HTML
course content

Course Content

Web Scraping with Python

Challenge: Read the HTML FileChallenge: Read the HTML File

Give it a try - open and read the HTML file on your own!

Task

  1. Import the urlopen function from the urllib.request.
  2. Use the urlopen() function to open the page from the specified url.
  3. Read the page and decode the received bytes object to 'utf-8'.

Once you've completed this task, click the button below the code to check your solution.

Everything was clear?

Section 1. Chapter 9
toggle bottom row
course content

Course Content

Web Scraping with Python

Challenge: Read the HTML FileChallenge: Read the HTML File

Give it a try - open and read the HTML file on your own!

Task

  1. Import the urlopen function from the urllib.request.
  2. Use the urlopen() function to open the page from the specified url.
  3. Read the page and decode the received bytes object to 'utf-8'.

Once you've completed this task, click the button below the code to check your solution.

Everything was clear?

Section 1. Chapter 9
toggle bottom row
some-alt