Emacs

Pen and paper in pairs

x = 11
y = x

print(x, y)

x = 11
y = 11
x = 22

print(x, y)

x = [2, 3, 4]
y = x

print(x, y)

x = [2, 3, 4]
y = x
x = [7, 8, 9]

print(x, y)

x = [2, 3, 4]
y = [2, 3, 4]
x[1] = 8

print(x, y)

x = [2, 3, 4]
y = x
x[1] = 8

print(x, y)

Control flow in Python

git

Introduce yourself to git

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

Tell git to name the default branch main

git config --global init.defaultBranch main

git

How fast can you type?

Emacs

ControllerForWindowsAndAndroid1.jpg

Dw5pVIeWsAEP4Sk.jpg

Editing our .bashrc file

Now we can use emacs to edit our .bashrc file. Just give the command emacs and I will talk you through it in class.

Author: Breanndán Ó Nualláin <o@uva.nl>

Date: 2026-02-23 Mon 17:35