YOUR NEXT BIG IDEA STARTS HERE

Python.One idea
at a time.

Start with the fundamentals, build useful programs, and then apply Python to automation, data, web APIs, and interview-ready algorithms.

57 chapters13 modulesBeginner to advanced
Start your first chapterFree from beginning to advanced. No account needed.
3learning stages
57lessons
114exercises
171quiz questions
A PATH THAT BUILDS ON ITSELF

Start where you are.
Know where you’re going.

New to Python? Begin with stage one. Already comfortable with the basics? Choose a stage and check its entry skills.

SUGGESTED START · NEW TO PROGRAMMING

Write clear Python

Start from zero and learn to turn a small problem into a readable program.

Start here ifNo programming experience needed.

Start this stageView these modules
BY THE END OF THIS STAGE

Create a small program that accepts data, applies rules, and returns a useful result.

  • You can choose a suitable collection and explain how it changes.
  • You can trace conditions and loops without guessing.
  • You can separate a calculation from input and output using functions.

Suggested entry points, not a placement test. Every lesson is open; move back whenever you need a refresher.

THE SYLLABUS

A clear sequence.
A useful outcome at every step.

13 modules across 3 stages. Each module shows what you need, what you’ll learn, and a practical self-check before moving on.

13 modules · 57 lessons

01
BEGINNER · 4 MODULES

Write clear Python

Start from zero and learn to turn a small problem into a readable program.

0/20 read
01Getting started with Python4 lessons·16 min reading
BEFORE YOU START

No previous programming experience.

WHAT YOU’LL BE ABLE TO DO

Run a saved file, trace assignments, and convert text into numeric values.

  1. 01.01Welcome to Python4 min read
  2. 01.02Setup and your first saved program4 min read
  3. 01.03Variables and types4 min read
  4. 01.04Operators and input4 min read
Practice checkpoint

Change an input, predict the calculation, and confirm the saved file produces your expected output.

Open the module self-check
02Text and collections4 lessons·16 min reading
BEFORE YOU START

Values, variables, and basic expressions.

WHAT YOU’LL BE ABLE TO DO

Choose strings, lists, tuples, dictionaries, and sets deliberately.

  1. 02.01Strings and formatting4 min read
  2. 02.02Lists and tuples4 min read
  3. 02.03Dictionaries and sets4 min read
  4. 02.04Mutability and copying4 min read
Practice checkpoint

Clean a label, organize records, and demonstrate when a copy protects the original collection.

Open the module self-check
03Decisions and repetition5 lessons·20 min reading
BEFORE YOU START

Collections and comparisons.

WHAT YOU’LL BE ABLE TO DO

Express rules, process records, and repeat work with clear stopping conditions.

  1. 03.01Conditions and boolean logic4 min read
  2. 03.02Pattern matching with match and case4 min read
  3. 03.03For loops and range4 min read
  4. 03.04While loops and loop control4 min read
  5. 03.05Comprehensions4 min read
Practice checkpoint

Process a collection, handle a boundary value, and explain why the loop terminates.

Open the module self-check
04Functions and reusable programs7 lessons·28 min reading
BEFORE YOU START

Conditions and loops.

WHAT YOU’LL BE ABLE TO DO

Write focused functions with explicit inputs, useful return values, and reusable modules.

  1. 04.01Defining functions4 min read
  2. 04.02Parameters and scope4 min read
  3. 04.03Return values and pure functions4 min read
  4. 04.04Flexible arguments and functional tools4 min read
  5. 04.05Recursion and problem solving4 min read
  6. 04.06Modules and imports4 min read
  7. 04.07Project: A number guessing gameProject4 min read
Practice checkpoint

Separate calculation from display and call it from a second file without running unwanted code on import.

Open the module self-check
02
INTERMEDIATE · 4 MODULES

Build reliable programs

Work with files and models, handle failures deliberately, and prove your program behaves as intended.

0/17 read
05Files, Data Formats, and Errors4 lessons·16 min reading
BEFORE YOU START

Functions and imports.

WHAT YOU’LL BE ABLE TO DO

Read portable files, validate JSON or CSV, and handle expected failures precisely.

  1. 05.01Paths and Text Files4 min read
  2. 05.02JSON and CSV4 min read
  3. 05.03Exceptions and Validation4 min read
  4. 05.04Context Managers4 min read
Practice checkpoint

Test valid, missing, empty, and malformed input; explain which cases should succeed and which should fail.

Open the module self-check
06Objects and Data Models4 lessons·16 min reading
BEFORE YOU START

Functions, collections, and validation.

WHAT YOU’LL BE ABLE TO DO

Model related state and behavior while preserving object invariants.

  1. 06.01Classes and Objects4 min read
  2. 06.02Methods and Properties4 min read
  3. 06.03Composition and Inheritance4 min read
  4. 06.04Dataclasses and Models4 min read
Practice checkpoint

Create two independent instances and verify that a rejected update leaves the original state unchanged.

Open the module self-check
07Practical Standard Library Tools4 lessons·16 min reading
BEFORE YOU START

Files, objects, and iteration.

WHAT YOU’LL BE ABLE TO DO

Use standard-library tools and isolate project dependencies.

  1. 07.01Datetime and Time Zones4 min read
  2. 07.02Collections and Itertools4 min read
  3. 07.03Regular Expressions4 min read
  4. 07.04Virtual Environments and Dependencies4 min read
Practice checkpoint

Choose an appropriate collection, handle an aware timestamp, and document how to recreate the project environment.

Open the module self-check
08Reliable Programs and an Intermediate Project5 lessons·20 min reading
BEFORE YOU START

Files, validation, data models, and virtual environments.

WHAT YOU’LL BE ABLE TO DO

Test observable behavior and assemble a persistent task-tracker CLI.

  1. 08.01Testing with Unittest4 min read
  2. 08.02Debugging and Logging4 min read
  3. 08.03Type Hints and Protocols4 min read
  4. 08.04Pytest and modern quality tools4 min read
  5. 08.05Project: A Persistent Task TrackerProject4 min read
Practice checkpoint

Add, list, complete, and reload tasks; confirm rejected input preserves the saved file.

Open the module self-check
03
ADVANCED · 5 MODULES

Connect, test, and ship

Understand deeper Python behavior, work across service boundaries, explore an applied track, and deliver a maintainable command-line project.

0/20 read
09Python Internals and Protocols4 lessons·16 min reading
BEFORE YOU START

Functions, objects, and tests.

WHAT YOU’LL BE ABLE TO DO

Reason about lazy iteration, decorators, Python protocols, and measured performance.

  1. 09.01Iterators and Generators4 min read
  2. 09.02Closures and Decorators4 min read
  3. 09.03The Data Model and Dunder Methods4 min read
  4. 09.04Memory and Performance4 min read
Practice checkpoint

Demonstrate iterator consumption, preserve a wrapped function's metadata, and measure before proposing an optimization.

Open the module self-check
10Concurrency with Clear Boundaries4 lessons·16 min reading
BEFORE YOU START

Functions, exceptions, context managers, and iterators.

WHAT YOU’LL BE ABLE TO DO

Choose and bound threads, processes, or async tasks according to the workload.

  1. 10.01Threads and I/O4 min read
  2. 10.02Processes and CPU Work4 min read
  3. 10.03Async, Await, and Tasks4 min read
  4. 10.04Cancellation and Concurrency Limits4 min read
Practice checkpoint

Explain your model choice, surface worker failures, and verify cleanup when work is cancelled.

Open the module self-check
11Data and Service Boundaries4 lessons·16 min reading
BEFORE YOU START

Validation, context managers, and tests.

WHAT YOU’LL BE ABLE TO DO

Validate service data and persist a complete batch transactionally.

  1. 11.01HTTP APIs with urllib4 min read
  2. 11.02SQLite and Transactions4 min read
  3. 11.03Security and Secrets4 min read
  4. 11.04Project: An API Data PipelineProject4 min read
Practice checkpoint

Import the same records twice, reject a bad batch, and prove existing database rows remain unchanged.

Open the module self-check
12Applied Python Tracks4 lessons·16 min reading
BEFORE YOU START

Core language, files, tests, dependency isolation, and service boundaries.

WHAT YOU’LL BE ABLE TO DO

Automate a workflow, analyze a table, expose a tested JSON API, or build an interview-ready algorithm workbook.

  1. 12.01Automation and web dataProject4 min read
  2. 12.02Data analysis with pandasProject4 min read
  3. 12.03Build a web API with FastAPIProject4 min read
  4. 12.04Python DSA interview toolkitProject4 min read
Practice checkpoint

Complete one track project end to end and defend its input validation, failure handling, tests, and honest output.

Open the module self-check
13Professional Python Projects4 lessons·16 min reading
BEFORE YOU START

Modules, environments, tests, and data boundaries.

WHAT YOU’LL BE ABLE TO DO

Package a usable CLI with stable output, meaningful exit codes, and acceptance checks.

  1. 13.01Package Structure and pyproject.toml4 min read
  2. 13.02Command-Line Interfaces with argparse4 min read
  3. 13.03Testing Strategy and CI4 min read
  4. 13.04Capstone: A Reliable Catalog CLIProject4 min read
Practice checkpoint

Install the built wheel outside the source checkout and verify success, usage errors, and operational failures.

Open the module self-check

Times estimate reading only. Make room for coding, practice, and projects at your own pace.

BUILD. VERIFY. EXPLAIN.

Projects with a clear
definition of done.

Connect the lessons in 8 guided builds. Use the acceptance checks to review your own implementation, then compare it with the worked example.

01
PROJECT 01 · BEGINNER

A number guessing game

A playable number-guessing game with a bounded attempt loop, validated input, and testable rule functions.

Review checklist

  • The secret stays in range and the game reports low, high, and win correctly.
  • Non-numeric, empty, and out-of-range guesses never crash the loop.
  • Tests cover low, high, win, and the 1 and 100 boundaries.
Open project brief & lesson
02
PROJECT 02 · INTERMEDIATE

Your everyday task tracker

A local CLI with add, list, and done commands backed by a JSON file.

Review checklist

  • Tasks and completion state survive separate runs.
  • Blank titles and unknown IDs produce clear failures.
  • Rejected input leaves the previous data file unchanged.
Open project brief & lesson
03
PROJECT 03 · ADVANCED

An API-to-database pipeline

A replaceable-source import pipeline that validates records and updates SQLite.

Review checklist

  • Repeated imports produce the same stored records.
  • Duplicate IDs, malformed JSON, and invalid field values are rejected.
  • A failed batch leaves prior database contents unchanged.
Open project brief & lesson
04
PROJECT 04 · AUTOMATION

An automated research digest

A dated automation digest built from a public JSON or HTML source, with a dry-run plan and a rerunnable report.

Review checklist

  • The source request has a timeout, an identifying header, and a readable failure path.
  • The output is validated before it changes the saved report.
  • A second run produces the same structure without duplicating rows or corrupting the previous file.
Open project brief & lesson
05
PROJECT 05 · DATA

A regional sales analysis

A reproducible regional sales report with cleaned data, grouped totals, and a labeled chart.

Review checklist

  • Missing values and duplicates are handled by an explicit, documented rule.
  • Grouped totals reconcile with the cleaned source rows.
  • The chart has labeled axes, an honest baseline, and a saved generation script.
Open project brief & lesson
06
PROJECT 06 · WEB

A tested task API

A tested FastAPI task service with validated request models, stable responses, and honest status codes.

Review checklist

  • Creating a task returns 201 and a response without internal fields.
  • Invalid input returns 422 and an unknown task returns 404.
  • TestClient tests cover create, read, update, delete, and the missing-resource path.
Open project brief & lesson
07
PROJECT 07 · INTERVIEW

An interview pattern workbook

A tested workbook of interview patterns with complexity notes and boundary-case coverage.

Review checklist

  • At least one solution each covers hash maps, stacks or queues, trees, search, and dynamic programming.
  • Every solution includes time and space reasoning rather than only code.
  • Tests cover empty, single-item, duplicate, and boundary inputs where applicable.
Open project brief & lesson
08
CAPSTONE · ADVANCED

A CLI worth sharing

An installable catalog-report command with JSON output and optional file publication.

Review checklist

  • Reports are deterministic, ordered by ID, and contain correct totals.
  • Invalid usage and expected data failures return the documented exit codes.
  • A failed report preserves existing output; the installed wheel passes the same acceptance checks.
Open project brief & lesson
SET YOURSELF UP TO LEARN

A simple routine.
Steady, practical progress.

No programming experience needed. A computer, a current Python installation, and a little curiosity are enough.

01

Read & predict

Read one example and predict its output before running it.

02

Run & change

Use your own Python environment. Change an input and explain the difference.

03

Try & review

Attempt the exercises before opening solutions. Use the quiz to find what needs another pass.

04

Build & reflect

Complete the module self-check and note what worked, what failed, and what to revisit.

Python 3.12+ · your own workspace

Run examples in your own Python environment. The setup chapter walks through installing Python and running a first file.

Open the setup lesson
Do I need to finish every stage in order?

If you’re new, follow the sequence. If you’ve used Python before, compare your skills with the stage entry guidance. You can open any lesson and return to earlier topics whenever you need.

What do the time estimates and completion marks mean?

Lesson times estimate reading only. Coding, exercises, debugging, and projects take additional time. Completion marks record reading progress on this device; they do not assess proficiency.

What does this course cover?

The path focuses on core Python and its standard library, including files, objects, tests, concurrency, HTTP, SQLite, and packaging. It provides a foundation for later specialization in web development, automation, or data work.

Where are my notes and progress saved?

Only in this browser. They do not sync between devices. You can clear them through Privacy & local data. Quizzes give authored explanations; live AI and accounts are planned.