| LM | Jupyter |
Working with Jupyter (Uni Marburg Environment)
Python can be used in many development environments such as Visual Studio Code, PyCharm, Thonny, or Jupyter.
In this course, we primarily use Jupyter provided by Philipps-Universität Marburg. Jupyter is web-based, requires no installation, and provides an easy way to learn and practice Python programming.
Accessing Jupyter at Uni Marburg
You can access Jupyter directly through your browser:
👉 https://jupyter.uni-marburg.de
Log in with your university account to access your personal workspace.
Within Jupyter, you can:
- create and edit notebooks (
.ipynbfiles), - write and execute Python code,
- save your work,
- organize files and folders.
What is Jupyter?
Jupyter provides two common interfaces:
- Jupyter Notebook – a simple environment for writing code and explanations step by step.
- JupyterLab – a more advanced interface that allows multiple files, notebooks, terminals, and folders to be displayed simultaneously.
Both environments allow you to combine code, text, and visual output in a single interactive document.
Saving and Downloading Your Work
All work completed in Jupyter is automatically saved within your university workspace.
You can also download your notebooks to your local computer for backup purposes or to continue working outside the university environment.
To download a notebook:
- Open the notebook.
- Select File → Download.
- Save the file to your local computer.
Exporting Python Code
Jupyter notebooks use the file extension .ipynb.
If you want to work outside Jupyter, you can export (File->Save and export Notebook as->Executable Script) or copy your code into a regular Python file:
print("Hello World")
Save the file as:
my_script.py
Running Python Scripts Locally
If Python is installed on your computer, you can run your script outside Jupyter.
Open a Command Prompt (Windows) or Terminal (Linux/macOS) and navigate to the folder containing your script:
cd path/to/your/folder
Run the script:
python my_script.py
or on some Windows systems:
py my_script.py
This allows you to continue practicing Python even without Jupyter.
Advantages of Using Jupyter
- No installation required.
- Works directly in your browser.
- Immediate feedback after running code.
- Combines code, text, and graphics in one document.
- Already configured with the required Python environment.
- Work is stored in your university account.
Summary
In this course, Jupyter Uni-Marburg serves as the primary programming environment.
Students are encouraged to use Jupyter during the course, but they may also download their files and continue working locally using a Python installation of their choice.
👉 https://jupyter.uni-marburg.de