You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: split setup guide into platform-specific sub-pages
The 374-line monolithic setup doc is now a platform selector that routes
to Windows, macOS, and Linux sub-pages, each under 200 lines with
complete standalone instructions. Mobile (Android/iOS) guidance remains
in the parent file. All CI checks (root doc contract, navigation chain,
link validation) continue to pass.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Each guide walks you through the complete setup: installing Python, choosing an editor, creating a project folder, setting up a virtual environment, running your first script, and running your first test.
33
32
34
-
We recommend **Python 3.13+** for the best experience. Python 3.13 has dramatically better error messages that explain what went wrong in plain English, making debugging much easier for beginners.
33
+
### Mobile learners (Android/iOS)
35
34
36
-
#### Windows 11
37
-
1. Download Python from [Python releases for Windows](https://www.python.org/downloads/windows/).
38
-
2. Run installer.
39
-
3. Check `Add Python to PATH`.
40
-
4. Click `Install Now`.
35
+
Mobile devices are fine for early fundamentals but you will need a desktop or laptop for advanced work (drivers, ETL jobs, dashboards, CI).
41
36
42
-
PowerShell verification:
43
-
```powershell
44
-
python --version
45
-
python -c "print('hello from python')"
46
-
```
37
+
**Android (Termux):**
38
+
Install [Termux](https://termux.dev/en/), then run `pkg install -y python` and follow the Linux guide — most commands are identical.
47
39
48
-
Expected output:
49
-
-`Python 3.x.x`
50
-
-`hello from python`
51
-
52
-
#### macOS
53
-
Option 1 (python.org installer):
54
-
1. Download from [Python releases for macOS](https://www.python.org/downloads/macos/).
[Thonny](https://thonny.org/) is a Python IDE designed specifically for beginners. It comes with Python built in (no separate install needed), has a simple interface, and includes a debugger that lets you step through code line by line. If VS Code feels overwhelming, start with Thonny and switch to VS Code later.
125
-
126
-
#### Mobile (Android/iOS)
127
-
- Use built-in editor in your Python app.
128
-
- Optional: pair with a Bluetooth keyboard.
129
-
- Mobile is acceptable for early labs, but switch to desktop by SQL/automation phases.
> **If you prefer pip:** All `uv` commands in this curriculum have pip equivalents. Replace `uv venv` with `python -m venv .venv` and `uv pip install` with `pip install`. Everything else stays the same.
181
-
182
-
### Step 4 - Create first project and virtual environment
- Prefer approved enterprise secret storage when available.
297
-
- Use least privilege and read-only creds first.
40
+
**iOS:**
41
+
Use a Python app such as [Pyto](https://pyto.app/) or [Pythonista](https://www.omz-software.com/pythonista/). These apps have built-in editors and consoles. Virtual environments are not fully supported on iOS — treat it as a learning-only path and transition to desktop before enterprise phases.
298
42
299
43
## Expected output
300
44
- A working `hello_sme` project with:
301
45
-`hello.py`
302
46
-`test_hello.py`
303
-
-`.venv` (desktop/Android)
47
+
-`.venv`
304
48
-`python hello.py` succeeds.
305
49
-`pytest -q` succeeds.
306
50
- You can explain your credential safety rules.
@@ -313,36 +57,13 @@ Secret handling rules:
313
57
5. Add a fake credential directly in code, then remove it and replace with env var access.
- Or fall back to pip: replace `uv pip install` with `pip install` and `uv venv` with `python -m venv .venv`.
328
-
-`pytest` not found:
329
-
- Confirm venv is active.
330
-
- Run `uv pip install pytest` (or `pip install pytest`).
331
-
- macOS shows old system Python:
332
-
- Use `python3` for install and venv creation.
333
-
- Linux missing `venv` module:
334
-
- Install OS package `python3-venv`.
335
-
- Android package build failures:
336
-
- Keep to pure-Python packages early.
337
-
- Move heavy data/driver work to desktop.
338
-
- iOS package limitations:
339
-
- Treat iOS as fundamentals-only path.
340
-
- Transition to desktop before SQL driver and deployment phases.
60
+
-`python` or `python3` not found: reopen terminal, confirm install finished, reinstall and ensure PATH/shell setup.
61
+
- See platform-specific troubleshooting in each guide: [Windows](./03_SETUP_WINDOWS.md#troubleshooting) | [macOS](./03_SETUP_MACOS.md#troubleshooting) | [Linux](./03_SETUP_LINUX.md#troubleshooting)
341
62
342
63
## Mastery check
343
64
You pass setup when you can:
344
65
- set up a fresh folder from scratch,
345
-
- create and activate an isolated environment (or equivalent on mobile),
0 commit comments