Manuals / Python / Checkpoint 6
B · Structure · beginner · Gate · Week 3–4 · Checkpoint 6 of 13
Checkpoint A — Syntax, modules & files
Before pytest and httpx, prove you can write clean Python in a proper project layout. Fix gaps before Phase C — the Playwright path assumes this baseline.
Path progress41%
Step 1 of 3
Pass criteria
You pass when all six are true. Audit py-journey. Fix failures this week.
- venv activates; requirements.txt committed; no global pip installs for project deps
- src/ + tests/ layout with 5+ pure helper functions (no I/O in unit-testable ones)
- List comprehensions and dict .get used — not index errors on missing keys
- JSON load/save with pathlib.Path and encoding="utf-8"
- Can explain why indentation matters and what a module is in 60 seconds
- Code pushed to GitHub with 3+ meaningful commits
Do this now
Mark pass/fail for each criterion in README. Fix failures before continuing.
Was this step clear?
Chapter learning outcomes
- Self-assessment
- Project layout readiness
Clear these before you leave
Side quest
Rubber duck
Explain venv, import, and json.load to an imaginary teammate in 3 minutes — no notes.