2025
Data visualization with Python
Learn how to use Python to create data visualizations for analysis and dissemination!
Time and place: Sep. 26, 2025 9:00 AM–4:00 PM, Georg Morgenstiernes hus, seminar room 203
This hands-on, interactive workshop teaches how to create data visualizations using the Python programming language. Using example data from various humanities disciplines, we will learn how to:
- visualize geographical data on a map
- create timelines
- create different kinds of graphs
We will also learn about the difference between exploratory and explanatory visualization, and discuss when and how visualizing your data can be helpful.
Target audience
Employees at the Faculty of Humanities who want to learn how to use programming to visualize data.
Preparations
You will receive an email with information about what you need to install ahead of the workshop.
Prerequisites
This workshop requires basic knowledge of Python equivalent to what is covered in our introductory course (in-person on September 5 or self-study).
Convenors
University library and HF digital/Humit
Intro to programming for Humanities staff
This workshop offers a general introduction to programming with Python, aimed at employees at the Faculty of Humanities.
Time and place: Sep. 5, 2025 9:00 AM–4:00 PM, Georg Morgenstiernes hus - Seminarrom 203
This workshop offers an introduction to programming with Python, a beginner-friendly and versatile programming language.
The workshop covers the basic building blocks of programming with Python and will teach you enough to start writing Python code on your own, as well as give you a foundation upon which to build more specialized or advanced knowledge (see information about follow-up workshops below).
Topics covered (don't worry if you don't know what anything on this list means - you will after the workshop):
- variables and data types
- loops
- conditions
- user input
- basics of functions and methods
Target audience
Employees at the Faculty of Humanities across all categories (teaching, research and administrative staff)
Preparations
Install Python if necessary* and Visual Studio Code (available from Software Center on UiO Windows computers) and bring your laptop and charger.
* If you're using MacOS or Linux, Python is most likely already installed, if you're on Windows you can install it from Software Center
Prerequisites
This workshop does not require any previous knowledge. If you need help with installing Visual Studio Code and Python and/or need an introduction to using the command line to navigate, please indicate this in the sign-up form.
Language models in Python
A two-day workshop for employees at the Faculty of Humanities
Time and place: Apr. 29, 2025 9:00 AM–3:00 PM, HF:Studio
Note! This is a two-day workshop given on April 4 and April 29. It is possible to attend only the first session.
Session 1: foundations of language modelling, n-gram models (training and generation), perplexity, BERT models in the HuggingFace Transformers library, embeddings, sentiment analysis
Session 2: logging into remote servers, use of the (lightweight) HPC facilities at UiO, setting up a python virtual environment in conda, entropy and temperature, handling generative models in the HuggingFace Transformers library, instruction finetuned models.
Target audience
Employees at the Faculty of Humanities across all categories (teaching, research and administrative staff)
Preparations
Bring your laptop and charger. Python must be installed on the laptop.* You also need a way of editing Python code. Visual Studio Code, which is available from Software Center on UiO Windows computers and is used in our introduction course, is one option, but anything that works for you is fine. However, you should use a setup that you are familiar with, as we won't be covering how to edit code in this course.
For the second session, you will also need a way of logging into remote servers. If you are using MacOS or Linux, you very likely have ssh installed. On Windows you can use Putty or OpenSSH. If you are in doubt about this, contact me beforehand.
* If you're using MacOS or Linux, Python is most likely already installed, if you're on Windows you can install it from Software Center
Prerequisites
This workshop requires basic Python knowledge equivalent to what's covered in the introductory workshop given each semester - this semester's introductory workshop is on March 21.
There is also a self-study version of the intro workshop, it's possible to work through this on your own as preparation for the language models workshop if you're unable to attend the introduction in person.
Intro to programming for Humanities staff
This workshop offers a general introduction to programming with Python, aimed at employees at the Faculty of Humanities.
Time and place: Mar. 21, 2025 9:00 AM–4:00 PM, HF:Studio
This workshop offers an introduction to programming with Python, a beginner-friendly and versatile programming language.
The workshop covers the basic building blocks of programming with Python and will teach you enough to start writing Python code on your own, as well as give you a foundation upon which to build more specialized or advanced knowledge (see information about follow-up workshops below).
Topics covered (don't worry if you don't know what anything on this list means - you will after the workshop):
- variables and data types
- loops
- conditions
- user input
- basics of functions and methods
Target audience
Employees at the Faculty of Humanities across all categories (teaching, research and administrative staff)
Preparations
Install Python if necessary* and Visual Studio Code (available from Software Center on UiO Windows computers) and bring your laptop and charger.
* If you're using MacOS or Linux, Python is most likely already installed, if you're on Windows you can install it from Software Center
Prerequisites
This workshop does not require any previous knowledge. If you need help with installing Visual Studio Code and Python and/or need an introduction to using the command line to navigate, please indicate this in the sign-up form.
2024
Language models in Python
Time and place: Oct. 21, 2024 9:00 AM–Nov. 15, 2024 3:00 PM, HF:Studio
Note! This is a two-day workshop given on 21 October and 15 November. It is possible to attend only the first session.
Session 1: foundations of language modelling, n-gram models (training and generation), entropy, BERT models in the HuggingFace Transformers library, embeddings
Session 2: logging into remote servers, use of the (lightweight) HPC facilities at UiO, setting up a python environment in conda, handling BERT-type models and generative models in the HuggingFace Transformers library
Target audience
Employees at the Faculty of Humanities across all categories (teaching, research and administrative staff)
Preparations
Bring your laptop and charger. Python must be installed on the laptop.* You also need a way of editing Python code. Visual Studio Code, which is available from Software Center on UiO Windows computers and is used in our introduction course, is one option, but anything that works for you is fine. However, you should use a setup that you are familiar with, as we won't be covering how to edit code in this course.
For the second session, you will also need a way of logging into remote servers. If you are using MacOS or Linux, you very likely have ssh installed. On Windows you can use Putty or OpenSSH. If you are in doubt about this, contact me beforehand.
* If you're using MacOS or Linux, Python is most likely already installed, if you're on Windows you can install it from Software Center
Prerequisites
This workshop requires basic Python knowledge equivalent to what's covered in the introductory workshop given each semester (this semester's workshop is on September 20). There is also a self-study version of the intro workshop, it's possible to work through this on your own as preparation for the language models workshop if you're unable to attend an intro workshop in person.
Intermediate programming for Humanities staff
This workshop will take you from performing simple operations in Python to building more complex programs from scratch.
Time and place: Oct. 18, 2024 9:00 AM–4:00 PM, HF:Studio
This workshop is a follow-up to the introduction to programming with Python workshop. The workshop introduces object-oriented programming with Python. You will learn how create to custom data types, define your own functions and methods, and combine them into a program.
Topics covered (don't worry if you don't know what anything on this list means - you will after the workshop):
- what are objects?
- defining your own functions/methods
- creating custom classes (data types)
- combining discrete bits of code into one coherent program
Target audience
Employees at the Faculty of Humanities across all categories (teaching, research and administrative staff)
Preparations
Install Python if necessary* and Visual Studio Code (available from Software Center on UiO Windows computers) and bring your laptop and charger.
* If you're using MacOS or Linux, Python is most likely already installed, if you're on Windows you can install it from Software Center
Prerequisites
This workshop requires basic Python knowledge equivalent to what's covered in the introductory workshop given each semester (this semester's workshop is on September 20). There is also a self-study version of the intro workshop, it's possible to work through this on your own as preparation for the intermediate workshop if you're unable to attend an intro workshop in person.
Intro to programming for Humanities staff
This workshop offers a general introduction to programming with Python, aimed at employees at the Faculty of Humanities.
Time and place: Sep. 20, 2024 9:00 AM–4:00 PM, HF:Studio
This workshop offers an introduction to programming with Python, a beginner-friendly and versatile programming language.
The workshop covers the basic building blocks of programming with Python and will teach you enough to start writing Python code on your own, as well as give you a foundation upon which to build more specialized or advanced knowledge (see information about follow-up workshops below).
Topics covered (don't worry if you don't know what anything on this list means - you will after the workshop):
- variables and data types
- loops
- conditions
- user input
- basics of functions and methods
Target audience
Employees at the Faculty of Humanities across all categories (teaching, research and administrative staff)
Preparations
Install Python if necessary* and Visual Studio Code (available from Software Center on UiO Windows computers) and bring your laptop and charger.
* If you're using MacOS or Linux, Python is most likely already installed, if you're on Windows you can install it from Software Center
Prerequisites
This workshop does not require any previous knowledge. If you need help with installing Visual Studio Code and Python and/or need an introduction to using the command line to navigate, please indicate this in the sign-up form.
Working with files and tables in Python
This workshop covers how to work with tables and spreadsheets in Python, including reading and writing CSV and Excel files.
Time and place: Apr. 29, 2024 9:00 AM–4:00 PM, HF:Studio
Do you want to learn how to manipulate the data in your giant, confusing Excel sheets without even opening Excel? Do you want to automate the extraction and sorting of Nettskjema data? Do you work with tables or spreadsheets in some way, shape, or form and have an interest in Python programming? This workshop is for you!
This workshop gives an introduction to working with tabular data in Python. We will cover reading and writing Excel and CSV files, and creating and manipulating tables from without your Python program. The workshop will also give an introduction to using external libraries in Python, focusing mainly on Pandas.
Target audience
Academic and administrative employees at the Faculty of Humanities who work with Excel and/or CSV files or other forms of tabular data.
Preparations
You will receive an email with information about what you need to install ahead of the workshop.
Prerequisites
This workshop requires basic knowledge of Python. If you have completed the introductory workshop you will have been introduced to the most important concepts. There are also self-study materials available that cover the same topics as the intro workshop which you can work through on your own before attending this workshop.
Text mining with Python
Learn how to use Python to extract and analyze textual data.
Time and place: Apr. 26, 2024 9:00 AM–4:00 PM, HF:Studio
In this workshop, you will learn how to perform text mining or textual data analysis in Python. You will gain a deeper understanding of how Python deals with text, and learn different techniques for extracting and analyzing textual data. The workshop will also give an introduction to using external libraries in Python, focusing mainly on NLTK (Natural Language Toolkit).
Target audience
Employees at the Faculty of Humanities who work with textual data.
Preparations
You will receive an email with information about what you need to install ahead of the workshop.
Prerequisites
This workshop requires basic knowledge of Python. If you have completed the introductory workshop you will have been introduced to the most important concepts. There are also self-study materials available that cover the same topics as the intro workshop which you can work through on your own before attending this workshop.
Intro to programming for Humanities staff
This workshop offers a general introduction to programming with Python, aimed at employees at the Faculty of Humanities.
Time and place: Mar. 13, 2024 9:00 AM–4:00 PM, HF:Studio
This workshop offers an introduction to programming with Python, a beginner-friendly and versatile programming language.
The workshop covers the basic building blocks of programming with Python and will teach you enough to start writing Python code on your own, as well as give you a foundation upon which to build more specialized knowledge (see information about follow-up workshops below).
Topics covered (don't worry if you don't know what anything on this list means - you will after the workshop):
- variables and data types
- loops
- conditions
- user input
- basics of functions and methods
Target audience
Employees at the Faculty of Humanities across all categories (teaching, research and administrative staff)
Preparations
Install Python if necessary* and Visual Studio Code (available from Software Center on UiO Windows computers) and bring your laptop and charger.
* If you're using MacOS or Linux, Python is most likely already installed, if you're on Windows you can install it from Software Center
Prerequisites
This workshop does not require any previous knowledge. If you need help with installing Visual Studio Code and/or need an introduction to using the command line to navigate, please indicate this in the sign-up form.
Intro to programming for Humanities staff
This workshop offers a general introduction to programming with Python, aimed at employees at the Faculty of Humanities.
Time and place: Mar. 11, 2024 9:00 AM–4:00 PM, HF:Studio
This workshop offers an introduction to programming with Python, a beginner-friendly and versatile programming language.
The workshop covers the basic building blocks of programming with Python and will teach you enough to start writing Python code on your own, as well as give you a foundation upon which to build more specialized knowledge (see information about follow-up workshops below).
Topics covered (don't worry if you don't know what anything on this list means - you will after the workshop):
- variables and data types
- loops
- conditions
- user input
- basics of functions and methods
Target audience
Employees at the Faculty of Humanities across all categories (teaching, research and administrative staff)
Preparations
Install Python if necessary* and Visual Studio Code (available from Software Center on UiO Windows computers) and bring your laptop and charger.
* If you're using MacOS or Linux, Python is most likely already installed, if you're on Windows you can install it from Software Center
Prerequisites
This workshop does not require any previous knowledge. If you need help with installing Visual Studio Code and/or need an introduction to using the command line to navigate, please indicate this in the sign-up form.