Autocorrect in Python
Pen and paper in pairs
x = 22 def f(y): x = y z = x + y return z print(f(33)) print(x) # print(y)
Some Python
- Python Comprehensions
- How to Write a Spelling Corrector by Peter Norvig
- spell.py
- big.txt a file containing English text, about a million words.
Accessing our Linux compute server
- Factorization
- If you have Microsoft Windows on you laptop, install the Windows Subsystem
for Linux as follows:
- Open a
PowerShell Give the command
wsl --install
- Open a
- Terminal
- Generate ssh key
- Generate a key of type
ed25519 - How to Generate SSH keys in Windows 10 and Windows 11
On Mac, open Terminal
ssh-keygen -t ed25519
- Your private key is
~/.ssh/id_ed25519 - Your public key is
~/.ssh/id_ed25519.pub - Send me your public key through Canvas
- Follow these instructions to make a configuration file for
ssh.
- Generate a key of type
- Login to
linux.auc-computing.nl
etc
- Python has a new type of interpreter