backlit_keyboard

Python for the Humanities

Join Melodee Beals as she introduces and explores how to use Python in the humanities.

Overview

Learning basic Python programming skills can open new and interesting avenues for your research, allowing you to interrogate sources at scale or zoom into finer details than are visible to the human eye!

This two-part course took place in May and June 2020 and was hosted by Melodee Beals of Loughborough University and saw participants learn the basics of the Python language before using these skills on Humanities projects rather than more generic programming examples.

Session 1

This session began by offering a basic overview of Python 3x, the language's core commands, and its structures. From here participants learned how to acquire and manipulate digital texts to prepare them for analysis.

Introducing Python

Useful Python Functions


Session 2

With a clear understanding of the language and how to prepare texts, this second session saw participants putting their new skills to work through basic image analysis before creating visualisations based on the texts that were introduced in the first session.

Preparing your text

Creating dictionaries and plotting your data


Return to article index