import workshop # If running locally, make sure that
= workshop.HOWTO()
workbook display(workbook.setup)
✅ Your notebook is ready to go! |
Per Unneberg
18-Sep-2025
This document describes the intended use of the Jupyter notebooks (we will also call them workbooks) that we will be using during the exercises. Common to all workbooks is that you will need to initialize them by executing code before proceeding with the actual exercises. Cells are executed by selecting Run->“Run selected cell” or by pressing the triangular “play” button in the menubar. A shortcut for either of these is to press keys <shift>
+<return>
.
Provided that you have setup / activated the proper virtual environment, all you need to do is get a copy of the notebook along with the workshop
module file and the quiz.yaml
file. In some cases you will also be provided with datasets to work on.
Common to all workbooks is that you will need to initialize them by executing code before proceeding with the actual exercises. A code block like the following one will be present at the top of a workbook; make sure to execute it with <shift>
+<return>
. For the cell below, this should print “Your notebook is ready to go!”.
The notebooks consist of cells that are either descriptive text written in markdown format, or code blocks consisting of Python code. Importantly, the code blocks can usually be executed via the keyboard shortcut <shift>
+<return>
. The Python code blocks can be edited so you can try out different parameter settings, or even modify code. This will be necessary to complete some of the excercises that are scattered throughout the documents and formatted like this:
Some exercises also have associated questions to test your understanding. They consist of code blocks that have to be executed.
There are two types of questions: multiple choice and value input. The options to multiple choice questions are displayed as buttons below the question: