Built entirely on a phone. No laptop. No excuses.
60 lessons, 10 modules, one invincible foundation.
This course is the Python backbone for a full‑stack developer.
It covers every fundamental a backend engineer needs before touching SQL, APIs, or cloud — all on an Android phone with Termux and Acode.
It is complete, polished, and ready to make you undeniable.
- One topic per lesson – deep, invincible mastery of every concept.
- Multi‑line interactive practice engine – write real code, see live preview, get instant pass/fail feedback.
- Auto‑progress – Easy → Medium → Hard without re‑running.
- Attempt counter, timer, mistake notes – track your growth.
- 1 debug challenge per lesson – fix broken code with progressive hints.
- Capstone: Imperial Contact Book – a complete SQLite‑backed CLI app.
- Solution sheets for every practice task.
- Phone‑friendly formatting – all lines fit a 6‑inch screen.
03.PyPhone COURSE/
├── practice_engine.py ← powers all practice sheets
├── debug_engine.py ← powers debugging challenges
├── Module_01_Python_Core/
│ ├── i_Lecture_Sheets/
│ ├── ii_Practice_Sheets/
│ ├── iii_Debugging_Sheets/
│ ├── iv_Review_Sheet/
│ ├── v_Solution_Sheets/
│ └── Module_Progress_Tracker.md
├── Module_02_Control_Flow/
│ └── … (same structure)
├── …
├── Module_10_Capstone/
│ ├── … (lesson folders)
│ └── vi_Imperial_Contact_Book/
└── side files (GETTING_STARTED.md, README.md, etc.)
| Module | Topics |
|---|---|
| 1 – Python Core | Variables, memory, types, casting, strings, f‑strings, CLI args, boolean logic, None |
| 2 – Control Flow | if/elif/else, nested conditionals, match‑case, while, for, break/continue/pass |
| 3 – Lists & Tuples | Indexing, mutability, methods, slicing, comprehensions, generator expressions, zip() |
| 4 – Dictionaries & Sets | Key‑value pairs, counting, defaultdict, nested dicts, dataclass, namedtuple, set operations |
| 5 – Functions & Scope | def, parameters, return, defaults, *args/**kwargs, LEGB, lambda, recursion |
| 6 – Error Handling & Debugging | try/except/else/finally, raise, custom exceptions, pdb, logging |
| 7 – File I/O, JSON & CSV | open, read/write, context managers, csv, json, pathlib |
| 8 – OOP for ORMs | Classes, __init__, methods, inheritance, polymorphism, special methods, @property, Enum |
| 9 – Modern Python & Tools | import, venv, requests, .env, datetime, generators, decorators, async/await, SQLite helper |
| 10 – Capstone | Imperial Contact Book: full CRUD, testing, documentation, packaging |
- Read
GETTING_STARTED.md(at the root) – it covers Termux, Acode, GitHub, and the daily workflow. - Open
03.PyPhone COURSE/Module_01_Python_Core/and start withi_Lecture_Sheets/L01_Variables_Memory_Typing.md. - Read the lecture, then run the matching practice sheet in Termux:
cd "03.PyPhone COURSE/Module_01_Python_Core" python ii_Practice_Sheets/L01_Variables_Memory_Typing.py
- Choose a difficulty, type your code, submit. The engine gives instant feedback.
- Fix the debug challenge in
iii_Debugging_Sheets/. - Complete the module review in
iv_Review_Sheet/. - Mark the
Module_Progress_Tracker.mdand move to the next module.
Golden rule: Type every line yourself. No copy‑paste.
- One topic, total mastery – no skimming, no skipping.
- Phone‑first design – all code fits a 6‑inch screen.
- Self‑checking practices – every task validates your code automatically.
- Live preview – see your output before submitting.
- Mistake tracking – the engine shows what you got wrong so you learn from it.
- Learn by debugging – fix broken code with progressive hints.
After all 60 lessons, build a complete CLI contact manager backed by SQLite.
You’ll create, read, update, and delete contacts, write tests, document your code, and package the project — just like a real backend engineer.
When the capstone passes all tests, generate your official PyPhone Emperor certificate:
python generate_certificate.pyFollow the prompts. A beautiful HTML diploma (and a terminal version) will appear instantly.
This repository is the Python foundation.
From here, Emperor will build the full‑stack:
- SQL (SQLPhone Emperor)
- Linux (TuxPhone Emperor)
- Git & GitHub (GitPhone Emperor)
- Backend & Cloud (future courses)
Each built with the same phone‑first, zero‑shortcuts philosophy.
This course is built by a learner, for learners.
Open an issue or pull request if you see a way to improve it.
MIT – keep knowledge free.
Built entirely on a phone by Emperor.
Stay consistent. Stay sovereign. Finish what you start.