Why this course is different
Every term explained
"What is...?" boxes define new words the moment they appear โ no silent jargon.
Instant-check quizzes
Fill in the blank, hit Check, and know immediately โ no waiting, no backend, nothing tracked.
Go Deeper, if you want
Optional sections give the full mechanism for readers who want more rigor โ skip them if you don't.
Real, fun projects
Every chapter ends with something genuinely worth building, not a throwaway toy example.
Think first, then prompt
Newer chapters show the reasoning an experienced developer works through before writing code, then have you write the prompt yourself before revealing a strong one โ a skill this course now builds on purpose, not just Python syntax. See it in Chapter 25.
Catch the AI's mistakes
Each project pairs a solo build with an AI-paired version that has real, subtle bugs planted in it โ the point isn't the code, it's learning to review AI output like it might be wrong, because it sometimes is.
Interview prep built in
Strong-answer / red-flag / follow-up breakdowns for every chapter's core concepts.
Open source, forever
MIT licensed. Clone it, fork it, use it for your own classroom or study group.
Chapters
Your First Python Program
print() · variables · types · input()
Start learning Chapter 2Variables & Data Types
dynamic typing · type() / id() · conversion
Start learning Chapter 3Operators
arithmetic · relational & logical · bitwise · is / in
Start learning Chapter 4Control Flow
if / elif / else · nested if
Start learning Chapter 5Loops
while · for & range() · break / continue
Start learning Chapter 6Strings Deep Dive
indexing & slicing · string methods · f-strings · validation
Start learning Chapter 7Lists & Tuples
list methods · tuples & unpacking · nested lists · copying pitfalls
Start learning Chapter 8Dictionaries & Sets
key-value pairs · dict methods · set operations · nested records
Start learning Chapter 9Comprehensions, Lambda & Functional Tools
list/dict/set comprehensions · lambda · map/filter/sorted
Start learning Chapter 10Functions Deep Dive
def & defaults · *args/**kwargs · scope · recursion · closures · decorators
Start learning Chapter 11Modules & Packages
import variations · math · datetime · random
Start learning Chapter 12Exception Handling
try/except/finally · raising exceptions · custom exception classes
Start learning Chapter 13File Handling & CSV
reading & writing files · the csv module · file-related exceptions
Start learning Chapter 14OOP Basics
classes & objects · __init__ · instance methods · dunder methods
Start learning Chapter 15OOP Deeper
@staticmethod & @classmethod · encapsulation · @property getters & setters
Start learning Chapter 16Inheritance & Polymorphism
class Child(Parent) · super() · method overriding · polymorphism
Start learning Chapter 17Generators, Iterators & Context Managers
yield & lazy evaluation · the with protocol · custom context managers
Start learning Chapter 18Regular Expressions
pattern matching with re · groups & named groups · re.sub()/re.split()
Start learning Chapter 19Working with APIs & JSON
requests basics · json.loads()/dumps() · nested JSON · the fetch-parse-format pipeline
Start learning Chapter 20Multithreading
threading.Thread & the GIL · race conditions & Lock · ThreadPoolExecutor
Start learning Chapter 21Working with Databases
MySQL & mysql-connector-python · MongoDB & pymongo · parameterized queries & SQL injection
Start learning Chapter 22Building Web Apps & APIs
Flask routes & render_template · FastAPI path/query params & Pydantic · automatic /docs
Start learning Chapter 23NumPy for Data Analysis
Vectorized arrays · boolean masking · broadcasting · axis= aggregates
Start learning Chapter 24Pandas for Data Analysis
DataFrames & Series · read_csv() · .loc[] vs .iloc[] · groupby & aggregation
Start learning Chapter 25Memory Management in Python
Reference counting & the cyclic garbage collector · the mutable-default-argument gotcha · __slots__ · tracemalloc profiling
Start learning Chapter 26Debugging Production Issues
An 80-issue catalog of real production bugs across 8 categories — symptom, root cause, fix, and a runnable repro for every single one.
Start learning Chapter 27Testing Your Code
unittest & pytest · fixtures and setup/teardown · mocking with unittest.mock · the AAA pattern & what good test coverage actually means
Start learning Chapter 28Git Fundamentals
The core workflow · branching & merging · resolving real conflicts by hand · rebase · undoing things safely with reset, revert, and reflog
Start learning Chapter 29GitHub & Collaboration
Remotes, forks & pull requests · giving and receiving code review · issues & project workflow · a real end-to-end collaboration scenario
Start learning Chapter 30CI/CD Pipelines
GitHub Actions workflow YAML · a real lint + test job with a matrix strategy and pip caching · status checks & branch protection
Start learning Chapter 31Professional Python
Virtual environments · the logging module · building a real CLI with argparse · pyproject.toml & packaging a pip-installable tool
Start learning Chapter 32Capstone Projects
5 full capstone roadmaps · a Task API, a Data CLI, an Ops Toolkit, a Finance Tracker, and an Open-Source Contribution Simulation · how to scope and write about a portfolio project
Start learning Chapter 33Interview & Career Prep
Turning this course into a resume & portfolio · the STAR method · live-coding interview strategy · a real mock-interview + portfolio-checklist CLI tool
Start learningHow to use this course
- Read the lesson, take the quiz, do the exercises, then build the project โ in that order.
- Every quiz question has its own Check button, so you get instant feedback without submitting anything or waiting for a grader.
- "Go Deeper" boxes are optional โ skip them on your first pass if you just want the essentials, come back later if you want the full picture.
- Running the Python code requires Python 3 installed on your computer โ everything else (lessons, quizzes) works right in this browser.
- On chapters with the GenAI prompt box (Chapter 25 onward): after you understand a worked example on your own, write the prompt you'd give an AI assistant to build it, then reveal a strong reference prompt to compare against โ try your own in Claude, ChatGPT, or whatever you use, and see how close you got. On the project's "AI-paired" page, do the reverse: read an AI-generated solution skeptically and try to find its planted bugs before revealing them.
Course roadmap
All 33 chapters across 6 modules are complete, every one built to the exact same tested format as Chapter 1. See the full chapter-by-chapter breakdown in the roadmap page.
