# Python example

`examples/python/basic_usage.py` shows how to run the bundled `test-sample.exe`.

Install the package:

```bash
pip install sogen
```

Download an emulation root:

https://sogen.dev/root.zip

Then run the example:

```bash
python examples/python/basic_usage.py
```

Set `EMULATOR_ROOT` to the extracted root. If unset, the script uses `./root`.
