Python for the humanities

Examples of use cases

Wednesday, June 4, 2025

API querying

Time:
9am–noon

Instructor:
Tannia Chevez (ACENET)

Live notes:
Etherpad

Materials:
Slides
Download the Jupyter notebook for this morning:

You will open this notebook on your computer and work in it.

You can see (but not edit) the content of the notebook here.
After the end of today’s class, we will publish a completed notebook at the link above so that you don’t have to worry about missing something during the class: just focus on learning.

Topic:
We will gather internet data using APIs.

Post course material:
Here is the completed notebook:

And it can be visualized here.

Webscraping with AI

Time:
1:30pm–4:00pm

Instructor:
Marie-Hélène Burle (Simon Fraser University)

Live notes:
Etherpad

Material:
Website

Topic:
Yesterday we saw how useful LLMs can be to write simple snippets of code and learn a new programming language. Today, we will try to do something a lot more complex with the help of an LLM: write a program to scrape a website.


frontlogo