# Wizarding Code — local Python modules

Course materials for [Wizarding Code](../wizardCode.html), stored on this site instead of Repl.it.

## How to run

1. Install [Python 3](https://www.python.org/downloads/) (3.8 or newer).
2. Open a terminal in the module folder you want.
3. Run: `python3 hello.py` (replace `hello.py` with the file you want).

For API modules (10–11): `pip install -r ../requirements.txt`

## Modules

| Folder | Topics |
|--------|--------|
| `module-01-intro` | Variables, print, types |
| `module-02-lists` | Lists, append, pop, slicing |
| `module-03-loops` | for loops, stats |
| `module-04-conditionals` | if/elif, Sorting Hat, OWL quiz |
| `module-05-dictionaries` | dicts, nested data |
| `module-06-input-while` | input, while loops, guessing game |
| `module-07-functions` | def, return, parameters |
| `module-08-text-game` | room-based adventure |
| `module-09-text-game-2` | menus, random events |
| `module-10-apis` | requests, JSON |
| `module-11-apis-2` | query params, errors, files |
| `module-12-turtle-final` | turtle, TTS, ASCII demos |

**Browse all files:** [index.html](index.html) — linked from each module on [wizardCode.html](../wizardCode.html).

Each inline example on the course page has a matching `.py` file; click the filename next to the example title to download or open it.

**Note:** Original Repl.it projects are no longer online. Files here are synced from the course page examples plus standalone projects (turtle, TTS, ASCII demos).
