Python workshops

Two workshops:

  1. Python Introduction: functions, objects, lists and dictionaries, indexing, iterating, importing packages, through an example of analysing text. For people with little or no Python.
  2. Python Web Scraping: web requests, JSON, XPath, and parsing HTML. Intermediate. Its examples were written in 2021 against the Harvard Art Museums website, which has since changed; the page shows the code as it was and is being revised.

Before either, follow the installation page. Each workshop’s page links to its materials (data, a cheat sheet, a BLANK notebook to type along in, and the exercise solutions).