Python as a Second Language

Getting Data from the Web

Overview

Teaching: 15 min
Exercises: 10 min
Questions
  • How can a program read data from the web?

  • How can a program handle the format the data comes in?

Objectives
  • Explain the HTTP request/response cycle.

  • Explain the meaning of common HTTP status codes.

  • Write programs that use requests to read CSV data from a URL endpoint.

FIXME

Exercises

Key Points