Coding fundamentals for humanists

A course overview

Author

Marie-Hélène Burle

Content from the webinar slides for easier browsing.

The course

Website (https://dhsi-2025.netlify.app/)

Overview

  • Core concepts of programming languages
  • Intro to Python and JupyterLab
  • Basics of Python
  • Using LLMs to write code
  • API querying in Python
  • Webscraping with Python and LLMs
  • Your turn: get data from a website via an API or scraping
  • Presentations: share your results, problems encountered, and what you learnt

New this year

Pre-written Jupyter notebooks to fill

Example of notebook given to students:

Example of completed notebook:

Use of LLMs to teach Python

It allowed students:

  • to be much more independent,
  • not to get frustrated over small road-blocks,
  • to go much further than in previous years,
  • to keep learning on their own,
  • to now be able to apply Python to their research

On our end, we learnt how to better use LLMs to teach

Samples of students results

Reddit data

Exported as a Python list:

noshadow

Exported as a Python polars data frame:

noshadow

Numbers of published books

noshadow

noshadow

Spotify playlist

noshadow

The Guardian archives

noshadow

Thanks to all DHSI organizers!