Weekly exercises, lectures, tutorials, and assignments for MECH2700.
- Install uv.
- Clone and sync:
git clone https://github.com/keys-i/MECH2700.git
cd MECH2700
uv syncThat creates .venv and installs project dependencies (Python ≥ 3.12).
| Folder | Contents |
|---|---|
prac/ |
Practical scripts and write-ups (week_01.py, week_01.tex, …) |
lec/ |
Lecture code (week_01.py, …) |
tuts/ |
Tutorials (W<number>/) |
assign/ |
Assignments |
Interactive menu (Lecture / Practical → week):
uv run codeOr run a file directly:
uv run python prac/week_01.py
uv run python lec/week_01.pyuv run clean # remove gitignored build artefacts (keeps .venv)
uv run latex-compile path.tex # compile with MacTeX, strip aux filesThat creates .venv and installs project dependencies (Python ≥ 3.12).
| Folder | Contents |
|---|---|
prac/ |
Practical scripts and write-ups (week_01.py, week_01.tex, …) |
lec/ |
Lecture code (week_01.py, …) |
tuts/ |
Tutorials (W<number>/) |
assign/ |
Assignments |
Interactive menu (Lecture / Practical → week):
uv run codeOr run a file directly:
uv run python prac/week_01.py
uv run python lec/week_01.pyuv run clean # remove gitignored build artefacts (keeps .venv)
uv run latex-compile path.tex # compile with MacTeX, strip aux files