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
Web Scraping with Python
course content

Conteúdo do Curso

Web Scraping with Python

Web Scraping with Python

1. Getting Acquainted with HTML
2. Beautiful Soup: Part I
3. Beautiful Soup: Part II

Challenge: Read the HTML File

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

Tarefa

  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.

Tarefa

  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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 9
toggle bottom row

Challenge: Read the HTML File

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

Tarefa

  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.

Tarefa

  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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 9
toggle bottom row

Challenge: Read the HTML File

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

Tarefa

  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.

Tarefa

  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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

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

Tarefa

  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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 1. Capítulo 9
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt