Concurrent and Parallel Programming in Python - Creating a Yahoo Finance Reader

Concurrent and Parallel Programming in Python - Creating a Yahoo Finance Reader

Assessment

Interactive Video

Created by

Quizizz Content

Information Technology (IT), Architecture

University

Hard

16:23

The video tutorial explains how to set up a threaded class to extract stock prices from Yahoo Finance using Python. It covers creating a threaded class, handling URLs and symbols, extracting prices from HTML using Xpath, and testing the setup. The tutorial also discusses integrating Yahoo Finance and Wiki workers, improving efficiency, and planning future enhancements. Error handling and testing are briefly touched upon, with a focus on threading and concurrent execution.

Read more

4 questions

Show all answers

1.

OPEN ENDED

3 mins • 1 pt

What is the role of the requests module in the Yahoo Finance price worker?

2.

OPEN ENDED

3 mins • 1 pt

How do we extract the price from the HTML content?

3.

OPEN ENDED

3 mins • 1 pt

What is the purpose of using threading in the Yahoo Finance price worker?

4.

OPEN ENDED

3 mins • 1 pt

What steps are taken to ensure that the program does not spam requests to Yahoo?