Universiteit Leiden

nl en


Programming in Python

Friday 16 June 2023 - Friday 30 June 2023
The trainig consists of three sessions on 16th, 23th and 30th June, 09:30-13:00.
University Library
Witte Singel 27
2311 BG Leiden
Vossius Room

This course offers a basic and accessible introduction to programming in Python, aimed specifically at researchers and teachers without prior coding skills. Due to limited capacity, we can only offer this course to staff affiliated with Leiden University. You can find a link to the registration form at the bottom of this page.

During three interactive weeks, this course will explain the core principles of programming using Python, including topics such as variables, data types and conditional execution (e.g., if X, then Y). You will be able to perform basic calculations, manipulate text and read from and write to files.

The course consists of three sessions on 16th, 23th and 30th June; the sessions will last 3 hours 09:30-13:00.

For more information on the contents of the course, you can send an email to cds@library.leidenuniv.nl.

What you'll learn

Session 1:

  • Using Jupyter notebooks
  • Variables and data types
  • Conditional and repeated execution of code

Session 2:

  • Lists and dictionaries
  • Working with String
  • Functions, modules and packages

Session 3:

  • Working with files and folders
  • Regular expressions


The course consists of three sessions of three and a half hours each. Participants are also requested to do some background reading and to carry out simple coding tasks as homework. The total workload is estimated at about 20 hours.

Approximately two weeks before the start all registered participants will receive practical instructions on how to prepare for the course.

Application form

This website uses cookies.  More information.