Question: how to extract data from html file using python?
Answer: Sending an HTTP GET request to the URL of the webpage that you want to scrape, which will respond with HTML content. ... 
Fetching and parsing the data using Beautifulsoup and maintain the data in some data structure such as Dict or List.