Preparation#
This session is about Python’s fundamental data types, understanding tracebacks and exceptions, and executing Python code in different ways.
Please watch the following videos before the session and do the Quiz after each video to check your understanding.
The first set of videos will teach you the very basics of the Python programming language.
The second set is concerned with executing Python code that either lives in a .py
file, which is the preferred format for large projects or a Jupyter Notebook, which is
more beginner friendly and interactive.
For each format there are multiple ways of running the code. Those are equivalent and will not change the result of your code. It is a matter of preference which one(s) you choose eventually.
Please watch at least one video on executing .py files and one on executing Jupyter
Notebooks. You have seen in the first lecture already how to execute .py files from
the shell using pixi.