Labs

This page extends the study guide with more information specific to the computer labs in this course.

Sign up & submissions

You should work on the labs in pairs. For this, you need to sign up for a lab group together with your lab partner. This can be done on the Webreg page depending on your course code:

  • For submitting your labs, use the Lisam submissions functionality.

  • For feedback & grading of the labs, go to the Webreg page depending on your course code.

Frequently asked questions
  • Why can’t I see the submissions on Lisam?
    I need to transfer the lab groups manually from Webreg to Lisam before you can see the submissions there. I will do this after the sign-up closes.

  • Can I work on the labs alone?
    It is normally not possible to work on the labs alone. The labs are designed to be solved in pairs, and we do not have the capacity to make exceptions to this. If you want to work alone due to special needs (e.g. a documented disability), please contact the examiner.

  • Can I work together with a lab partner from the “other” course code?
    That is fine! You just need to pick one of the course codes under which you want to sign up.

Running the labs

Labs come in the form of Jupyter Notebooks using Python. On the lab computers, we provide a virtual environment that you should activate before starting to work on the labs. Afterwards, you can just run jupyter lab and a browser window will open where you can open the labs.

source /courses/TDP030/.venv/bin/activate
jupyter lab

Getting the lab assignments

You can find all assignments on the lab computers. You should start by copying them to your own home directory first, for example:

mkdir ~/Documents/TDP030
cp -r /courses/TDP030/labs/ ~/Documents/TDP030/
Not all labs are released yet!

Right now (2026-01-19), only labs 0–2 have been released. The remaining labs will be published before the corresponding lab sessions start. You will have to copy them to your home directory then after they have been published.

If you copy labs later, make sure to only copy the ones you need so that you don’t overwrite your existing work! For example:

cp -r /courses/TDP030/labs/l3/ ~/Documents/TDP030/labs/

Using your own computer

You can also download the labs from the public course repo, which also contains the definition for the virtual environment to run them on your own computer (see the README in that repo for more information). Note that we cannot provide any technical support if you run into problems with this approach. We test that labs run on the lab environment, so if you run into technical issues that you cannot solve, please use the lab computers instead.