Free, interactive Python course for everyone — from complete beginners to working professionals. A hybrid course by design: it teaches real Python fundamentals the traditional way (write it yourself, understand why it works, get it wrong and fix it) and, starting with Chapter 25, pairs that with genuine AI-collaboration practice — the reasoning behind each worked example, writing the prompt you'd give an AI assistant to build it, and an "AI-paired" version of every project with real, subtle bugs planted in it to practice catching. Neither half substitutes for the other; see Chapter 25 for the reference implementation of that standard.
All 33 chapters are complete, along with 4 written module exams and 4
capstone reference implementations under capstones/.
🔗 Live course site: https://technaom.github.io/python-for-everyone/
A self-paced Python course built as a series of small, interactive HTML "mini textbooks" — no sign-up, no cost, no assumed background. Every chapter follows the same format:
- A real-world hook before any syntax
- Each sub-topic explained in plain language, with its own "What is...?"
callouts, annotated code (plus a live in-browser "Run Code" playground
where the example doesn't need
input()), an optional "Go Deeper" box, and a short Quick Recap - (Chapter 25 onward) A GenAI thought-process + prompt box after every worked example — the reasoning an experienced developer works through before writing the code, a space to write your own prompt, and a real reference prompt to compare against. There's no scored "AI grader" — an earlier heuristic version was retired after it scored the course's own reference prompts below perfect; the honest version just points you at a real assistant to test your own prompt against.
- A full Points to Remember summary at the end
- An interactive fill-in-the-blank quiz — each blank has its own Check button for instant ✅/❌ feedback, a live progress bar, no backend, nothing leaves your browser
- Exercises, including at least one "Debug the Code" task
- A Practice Bank — a deeper, per-topic problem set (5-10 problems per sub-topic) with at least two scenario-based, interview-style problems per topic, for extra reps and interview prep
- Interview questions (strong answer / red flags / follow-up format) plus a rapid-fire recall quiz
- A small real, resume-worthy project that uses everything the chapter taught
- (Chapter 25 onward) An "AI-paired" follow-up to the project — a realistic AI-generated solution with 1-3 genuinely subtle bugs planted in it, then a reveal walking through what the AI's code actually got wrong. The point is practicing code review and skepticism toward AI output, not just prompting it.
Every 4-6 chapters form a module, capped with a written exam covering everything in that module. Completing a chapter's quiz with a perfect score marks it "✓ Completed" sitewide (stored only in your browser's local storage — no accounts, no tracking).
The course is complete: all 33 chapters, spanning Modules 1-6 (Foundations through Interview & Career Prep), plus 4 written module exams and 4 capstone reference implementations, are built and live. The GenAI thought-process/prompt-box and AI-paired-critique standard is new as of Chapter 25 — it's the direction every chapter from Chapter 25 onward is built with. A retrofit pass to add it to Chapters 1-24 is planned but not yet started, so don't expect it on earlier chapters yet.
See the live roadmap page
(or the plain-text draft at
docs/curriculum/CURRICULUM_MAP.md)
for the full 33-chapter roadmap.
python-for-everyone/
├── index.html → course landing page (GitHub Pages entry point)
├── docs/curriculum/
│ ├── index.html → live, styled roadmap page
│ └── CURRICULUM_MAP.md → plain-text draft roadmap (repo browsing)
├── assets/
│ ├── style.css → shared visual design, used by every page
│ ├── quiz-engine.js → shared fill-in-the-blank quiz checking logic
│ └── genai-grader.js → wires up the GenAI prompt box's reveal button (Ch25+; no scoring)
├── chapters/
│ ├── chapter-01-first-program/ … chapter-33-interview-career-prep/ → all 33 chapters
│ └── chapter-25-memory-management/ → reference implementation of the GenAI-era standard below
│ ├── lesson.html → the interactive mini-textbook, incl. GenAI prompt boxes
│ ├── quiz.html → fill-in-the-blank quiz
│ ├── interview-questions.html → Q&A accordion + rapid-fire quiz
│ ├── exercises/ → index.html, README.md, starter.py, solution.py
│ ├── practice/ → deeper per-topic problem bank, incl. interview scenarios
│ └── project/
│ ├── index.html → the solo project, incl. GenAI prompt boxes
│ ├── ai-paired.html → AI-paired critique loop (solo → AI-paired → find the bugs)
│ ├── README.md, starter.py, solution.py
├── assessments/written-exams/ → 4 written module exams (Modules 1-4)
├── capstones/ → 4 capstone reference implementations (Task API, Data CLI, Ops Toolkit, Finance Tracker)
└── .github/workflows/ → GitHub Pages deploy + capstone CI workflows
Every chapter page is fully cross-linked: lesson → quiz → exercises → interview questions → project → back to all chapters, plus a top-nav Roadmap link on every page.
git clone https://github.com/TechNaom/python-for-everyone.git
cd python-for-everyone
python3 --version # confirm Python 3 is installed — no other dependencies neededEach chapter's exercises/ and project/ folders are plain, dependency-free
Python scripts — just python3 <file>.py. The lesson pages and quizzes need
no installation at all; open them directly in a browser or read them via the
live Pages site above.
This repo is solo-maintained (with AI assistance) and isn't open to external
contributions — issues and PRs from outside contributors aren't reviewed.
See CONTRIBUTING.md for the maintainer's own workflow
notes.
MIT — see LICENSE. Free to use for your own learning, classroom,
or study group.