Getting Started
This guide sets up your laptop for Informatics 1. It takes about 30 minutes, most of it waiting for downloads.
When you are done you will have:
- Python 3.14, with
pythonandpipworking in the terminal - Visual Studio Code (VS Code) with the Python extension
- Git
- A GitHub account, connected to VS Code
- Your GitHub account linked to the course, and your first exercise open in VS Code
The instructions are written for Windows 10/11. macOS steps are given where they differ. If you use Linux, you probably know what to do; ask us if not.
If you get stuck at any step, don't worry. Write down the exact error message (or take a screenshot) and show it to a tutor.
The tools
You will work with seven tools. Here is what each one does and why you need it. The setup steps below install them one after the other.
Terminal
Where you type commands.
The terminal is a window where you control the computer by typing instead
of clicking. You type a command, for example python --version, press
Enter, and the answer appears as text below it. Some things, like
installing Python or pytest, are quickest to do this way.
On Windows the terminal app is called Terminal (on Windows 10: PowerShell), on macOS Terminal. VS Code has one built in: Terminal → New Terminal. They all work the same way. Programs you install only become available in terminals you open afterwards, so open a new one after each install.
Python
The programming language of this course.
A Python program is a plain text file ending in .py. On its own the text
does nothing: the Python interpreter, a program you install, reads the
file and carries out its instructions line by line. Running a Python file
means asking the interpreter to do this.
Installed in step 1.
pip
Installs extra Python packages.
Python comes with a lot built in, but much of what you will use is written
by other people and shared as packages, for example pytest, and later
numpy, matplotlib and pandas. pip downloads a package and installs it
into your Python, so your programs can import it. It comes with Python,
and you run it in the terminal: python -m pip install pytest.
Comes with Python in step 1.
pytest
Checks your solutions.
A test is a small program that runs your code and checks the result, for example "with the input 4, the program prints 16". pytest finds all the tests in a folder, runs them and reports which passed and which failed.
Every exercise comes with tests, and your points are the share of them that pass. You can run them yourself before you hand in, in VS Code's Testing panel (the flask icon), so you know your score in advance.
Installed in step 1.
VS Code
The editor you write your code in.
You could write Python in any text editor, but Visual Studio Code also runs your program with one click, points out mistakes as you type, runs the tests, and has buttons for the Git steps, so you rarely need the terminal. Its Python features come from the Python extension.
The exercises switch off VS Code's AI features (Copilot chat and code suggestions), because you learn to program by writing the code yourself.
Installed in step 2.
Git
Keeps the history of your code and hands it in.
Git records the history of a folder. Each time you save a snapshot, Git remembers exactly what changed, so you can go back to any earlier version. Git also copies that history between computers, which is how your solution gets from your laptop to us. VS Code runs Git for you in the background. The words you will see:
- Repository (or repo): a folder whose history Git tracks. Each exercise is one repository. It exists twice: online on GitHub, and as a copy on your laptop.
- Commit: a saved snapshot of your files, with a short message saying what you changed ("solve task 2"). A commit exists only on your laptop until you push it.
- Push: upload your new commits from your laptop to GitHub. We only see and grade what you have pushed.
- Pull: download commits from GitHub that your laptop doesn't have yet, for example ones you made on another computer.
- Fork: your own copy of someone else's repository, which you can change without touching the original. Your exercise repositories work much like this: each starts as a copy of our exercise template.
The Commit & Sync button in VS Code does it all at once: it commits, pulls, then pushes.
Installed in step 3.
GitHub
Where your repositories live online.
Git is a program on your laptop. GitHub is a website that stores Git repositories, so they are backed up and others can get to them. For this course, each exercise is a private repository on GitHub that only you and the tutors can see. When you push, your work lands there, and the course page runs the tests on it.
Your GitHub account is also how you log in to the course page.
Account created in step 4.
1Install Python 3.14
Windows
Since Python 3.14, Python on Windows is installed with the Python install
manager. You install the manager once, and it installs and updates Python
for you. (The old python-3.14.x-amd64.exe installer still exists but is
being phased out. Don't use it unless the steps below fail.)
a) Remove old Python versions (if you have any).
Click Start, open Installed apps, and search for "Python". If you see older entries like "Python 3.11" or "Python Launcher", uninstall them. Old installations are the most common cause of "the wrong Python runs" problems.
b) Install the Python install manager.
Pick one of these:
- Microsoft Store (easiest): open the Python install manager in the Microsoft Store and click Install (on German Windows: Herunterladen). Make sure the app is called "Python Install Manager" and is published by the Python Software Foundation. Don't pick one of the older "Python 3.x" Store apps.
- python.org: go to https://www.python.org/downloads/, click the big
download button for Windows, and run the downloaded
.msixfile. Click Install.

c) Open a terminal.
Click Start, type Terminal, and open it. (On Windows 10, open
PowerShell instead.) A window with a blinking cursor appears. This is
where you type commands. Press Enter after each command.
d) Install Python 3.14.
Type:
py install 3.14
This downloads and installs the latest Python 3.14 release. It ends with a note that the "global shortcuts directory is not on PATH". The next step fixes that.

e) Put Python and pip on your PATH.
PATH is the list of folders Windows searches when you type a command. Run the configuration helper:
py install --configure
It checks your system and asks a few questions. Answer them like this:
| Question | Answer |
|---|---|
Windows is not configured to allow paths longer than 260 characters. ... Update setting now? [y/N] |
y. Windows asks "Do you want to allow this app to make changes to your device?" for Python install manager; click Yes. If you can't give administrator permission, answer n instead. |
The legacy 'py' command is still installed. ... Open Installed apps now? [y/N] |
y, then uninstall Python launcher (see step a) |
The global shortcuts directory is not configured. ... Add commands directory to your PATH now? [y/N] |
y. This one matters, because it makes the pip command work |
You do not have the latest Python runtime. ... Install CPython now? [Y/n] |
n (we use 3.14, which you installed in step d) |
Most of these questions default to No, so you have to type y
yourself. You probably won't see every question, because the helper only
asks about things that need fixing. At the end it prints
Configuration checks completed.


f) Close the terminal and open a new one. PATH changes only apply to newly opened terminals.
macOS
- Go to https://www.python.org/downloads/macos/ and download the
macOS 64-bit universal2 installer for the latest Python 3.14 release
(a
.pkgfile). - Open it and click through the installer with the default options. Leave "Shell profile updater" selected, because it puts Python on your PATH.
- When it finishes, a Finder window for
/Applications/Python 3.14opens. Double-click Install Certificates.command. Without this, downloading packages can fail with SSL errors. - Open Terminal (press Cmd+Space and type "Terminal").
On macOS the commands are called python3 and pip3, not python and
pip. Use those names wherever this guide says python or pip.
Check that it works
In a new terminal window, run:
python --version
pip --version
You should see something like:
Python 3.14.7
pip 26.2.1 from C:\Users\<you>\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\pip (python 3.14)

The exact numbers may differ. What matters is that the first line says 3.14 and the second line mentions python 3.14.
If it doesn't work:
| Problem | Fix |
|---|---|
python opens the Microsoft Store, or says "not recognized" |
Click Start, open Manage app execution aliases, and turn on the entries labelled Python (default) and Python install manager. If they are already on, turn them off and on again. Open a new terminal. |
python --version shows an old version (e.g. 3.11) |
An old Python is still installed. Uninstall it (step 1a) and open a new terminal. |
pip is "not recognized" but python works |
Run py install --refresh, then py install --configure and answer y to the PATH question. Open a new terminal. As a workaround, python -m pip always works in place of pip. |
Install pytest
pytest runs the tests that check your solutions. Install it in the same terminal:
python -m pip install pytest
Then check that it works:
python -m pytest --version
It should print pytest followed by a version number.
2Install Visual Studio Code
VS Code is the editor we use to write and run code in the labs.
- Download it from https://code.visualstudio.com/download. On Windows, choose the User Installer, x64 (or Arm64 if your laptop has an Arm processor, e.g. Snapdragon).
- Run the installer and accept the license agreement. Keep clicking Next. On the Select Additional Tasks page, make sure Add to PATH is checked (it is by default). The two "Add 'Open with Code' action" boxes are optional but handy.

- Click Install, then Finish. VS Code starts.
- VS Code greets you with Welcome to VS Code and asks you to sign in to use GitHub Copilot. Click Continue without Signing In at the bottom. On the next page you can pick a colour theme, then click Get Started.

Install the Python extension:
- Click the Extensions icon in the left sidebar (four squares), or press Ctrl+Shift+X (Cmd+Shift+X on macOS).
- Search for
Python, pick the one published by Microsoft, and click Install. It also installs a few helper extensions (Pylance, Python Debugger, Python Environments). This can take a few minutes; wait until the extensions no longer say "Installing".

Pick Python 3.14 as the interpreter:
- Press Ctrl+Shift+P (Cmd+Shift+P on macOS) and type
Python: Select Interpreter. Press Enter. - Choose the entry that says Python 3.14. It is usually marked Recommended.

3Install Git
Git downloads your exercise repositories and uploads your solutions. VS Code uses it in the background.
- Windows: download it from https://git-scm.com/downloads/win ("Git for Windows/x64 Setup") and run the installer. Click Yes when Windows asks for permission. The installer asks many questions; the defaults are fine for all of them, so keep clicking Next. One tip: on the Choosing the default editor used by Git page, pick Use Visual Studio Code as Git's default editor instead of Vim. On the last page click Finish.

- macOS: open Terminal and run
git --version. If Git is not installed, macOS offers to install the "command line developer tools". Click Install.
Check it in a new terminal:
git --version
It should print something like git version 2.55.0.windows.5.
4Create a GitHub account
GitHub is where your exercises live. Skip this step if you already have an account.
- Go to https://github.com/signup.
- Enter your email address, a password, and a username, and check that Your Country/Region is right. Then click Create account.
- Use an email address you check regularly. Your university address works.
- Choose a username you are happy to keep. Other people will see it.
- Solve the verification puzzle and enter the code GitHub emails you.
- You can skip the personalisation questions.

Stay logged in to GitHub in your browser for the next steps.
5Connect VS Code to GitHub
You do this once. Afterwards, opening an exercise and handing it in works without any further questions.
Tell Git who you are. Git writes your name and email into every change you hand in. In VS Code, open a terminal (Terminal → New Terminal) and run these two commands, with your own name and the email address of your GitHub account:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
Without this, handing in fails with "Make sure you configure your user.name and user.email in git".
Sign in to GitHub in VS Code:
- Press Ctrl+Shift+P (Cmd+Shift+P on macOS), type
Git: Cloneand press Enter. Choose Clone from GitHub. - VS Code says "The extension 'GitHub' wants to sign in using GitHub". Click Allow.
- Your browser opens GitHub. Click Continue and then Authorize if GitHub asks. When the browser asks whether to open Visual Studio Code, allow it.
- Back in VS Code, a list of your repositories appears (it may be empty). You don't need it now: press Escape.
Make a folder for the course and trust it:
- Create a folder for all your exercises, e.g.
Documents\informatics-1. - In VS Code, click File → Open Folder…, pick that folder, and click Select Folder.
- VS Code asks "Do you trust the authors of the files in this folder?". Click Yes, I trust the authors. Everything you later put inside this folder is trusted too, so VS Code won't ask again for each exercise.
6Log in to the course page
The course page shows your exercises and how your solutions are doing.
- Go to https://informatics-1.tugraz.pothos.dev and click Log in with GitHub.
- GitHub asks whether to let Informatics I see your public profile. Click Authorize. The course page learns only your username.
- First time only: pick your own name from the list and type your Matrikelnummer to confirm. Then click Link my account. This is how we know whose work we're grading. If your name is missing, don't pick another one. Tell us in the lab.
- First time only: join the course on GitHub. Click Join the course; on GitHub, click Join geospatial-computing. Then come back to the course page.
7Open an exercise
Each exercise is a private repository on GitHub that we create for you: only you and the tutors can see it. The course page lists every exercise that is open, starting with 00 - Hello World, and the ones coming up.
- On the course page, click Open it in VS Code. If the browser asks whether to open Visual Studio Code, allow it.
- VS Code asks where to put the exercise: pick your course folder
(
Documents\informatics-1). - When it has finished downloading, VS Code asks whether to open the repository. Click Open.
Hand in by committing and pushing: in VS Code open Source Control
(Ctrl+Shift+G), type a message and click Commit & Sync.
The first time, VS Code asks two questions: click OK, Don't Show
Again to let it push, and Yes when it offers to run git fetch
from time to time. Then press Refresh on the course page to see your
commits and how many tests pass. You can push as often as you like before
the deadline; the last push counts.
You're done
You should now have the Hello World exercise open in VS Code. Open the terminal inside VS Code (Terminal → New Terminal) and run:
python --version
python -m pytest --version
If they show Python 3.14 and a pytest version, you're all set.