Course Content
Web Scraping with Python
Web Scraping with Python
Challenge: Read the HTML File
Give it a try - open and read the HTML
file on your own!
Task
Swipe to show code editor
- Import the
urlopen
function from theurllib.request
. - Use the
urlopen()
function to open the page from the specifiedurl
. - 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.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 9
Challenge: Read the HTML File
Give it a try - open and read the HTML
file on your own!
Task
Swipe to show code editor
- Import the
urlopen
function from theurllib.request
. - Use the
urlopen()
function to open the page from the specifiedurl
. - 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.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 9
Switch to desktop for real-world practiceContinue from where you are using one of the options below