learnlab_
v1.0 — now in public beta

Learn to code in the terminal.Not on slides.

LearnLab is a hands-on platform for Python and the command line. Read short, practice real, get instant visual feedback — all from your browser.

no install required 120+ interactive tasks built for developers
bash — ~/learnlab/lesson-04 80×24
learnlab ~ $ python lesson.py
 Loading lesson 04 · Functions
 Task: implement fizzbuzz(n)
def fizzbuzz(n):
    for i in range(1, n + 1):
        if i % 15 == 0: print("FizzBuzz")
        ...
✓ all tests passed (5/5)
 xp +120 · streak 7d 🔥
learnlab ~ $

trusted by developers learning at

StripeVercelGitHubDatadogLinearSupabase
How it works

A loop built for deep practice.

Three steps that compound. Lessons stay short on purpose — so the time you spend coding is the part that sticks.

STEP / 01

Read

Bite-size lessons — concepts in ~3 minutes. No fluff, no 90-minute videos. Just what you need to ship.

# concept
what is a closure?
# 3 min read
STEP / 02

Practice

Solve real tasks in an interactive terminal — right inside your browser. No setup, no environment headaches.

$ python solve.py
→ running tests...
STEP / 03

Get feedback

Instant validation, hints when you're stuck, and explanations that actually teach. AI-assisted, never on autopilot.

✓ 5/5 tests passed
xp +120 · streak 7d
Tracks

Two stacks. One workflow.

Python for the language. Terminal for the workflow. Every lesson lives inside the same interactive shell.

PY

Python

.py

From print() to async/await. Three levels: Fundamentals, Intermediate, Advanced — 105 hands-on lessons.

def greet(name): 
    return f"hi, {name}"
105 lessonsenter
SH

Terminal

.sh

ls, cd, grep, pipes, find, chmod. The skill that makes every other tool 10× faster, taught command by command.

grep -R "TODO" src/ | wc -l
15 lessonsenter
Live demo

Try the terminal right now.

No signup. Type below — solve real tasks across Python and bash.

task 1/3 — learnlab 80×24
learnlab interactive shell · v1.0.0
type "help" for commands
[task] task 1/3 — Print the exact greeting: Hello, learnlab
learnlab ~ $

tip: type help for commands · try hint if you're stuck

$_

Real shell, fake risk

Type commands, run code, fail safely. The same interface you'll use on the job — without the rm -rf anxiety.

$_

Progressive tasks

Each prompt unlocks the next. Hints when you're stuck, never spoilers. Solutions you actually understand.

$_

Python + shell, side by side

The same terminal teaches Python and bash — muscle memory builds across both worlds at once.

Features

Everything you need to actually learn.

Built around how engineers really level up — short reads, hands-on tasks, fast feedback, repeatable practice.

Interactive lessons

Short, focused units with embedded code blocks you can run and edit instantly.

Real coding tasks

Not multiple-choice quizzes. Write functions, queries and scripts that get tested.

Progress tracking

Streaks, XP, mastery scores. See exactly what you know — and what's still fuzzy.

AI assistance

An AI mentor explains errors, suggests next steps, and reviews your code on demand.

Terminal practice

A real shell sandbox per lesson — pipes, redirects, git, package managers. All in-browser.

Battle-tested curriculum

Designed with engineers from production teams. Every track maps to real-world tasks.

Learning paths

Curated paths, not tutorial hell.

Each path is a sequenced curriculum — read, code, test, repeat — ending in a small project you can show off.

PY

Python Fundamentals

Beginner · ~4h · 45 lessons

Variables, control flow, functions, data structures, files, error handling. Ship your first scripts.

  • 01Hello, Python
  • 02Strings & slicing deep
  • 03Lists, tuples, sets, dicts
  • 04Functions, scope & return
  • 05Mini project — FizzBuzz
PY

Python Intermediate

Mid · ~6h · 30 lessons

Classes, comprehensions, modules, file I/O, JSON, datetime. The patterns in every real codebase.

  • 01List & dict comprehensions
  • 02Classes, methods, inheritance
  • 03Files, JSON, datetime
  • 04Collections (Counter, deque)
  • 05Mini project — word counter
PY

Python Advanced

Senior · ~8h · 30 lessons

Decorators, generators, async/await, typing, magic methods. Idiomatic Python that gets PR-approved.

  • 01Decorators & closures
  • 02Generators & iterators
  • 03Magic methods & ABCs
  • 04Typing (generics, protocols)
  • 05async/await + asyncio
SH

Terminal Shell Fundamentals

All levels · ~3h · 25 lessons

ls, cd, grep, pipes, find, chmod, redirects. Practiced in a guided shell — type the command, see the output.

  • 01Files, pipes, redirects
  • 02grep & find
  • 03Permissions & ownership
  • 04Process basics
  • 05Mini project — log triage
SH

Terminal Shell Intermediate

Mid · ~5h · 30 lessons

find, sed, awk, tar, curl, ps. The power tools that turn the shell into a real workflow.

  • 01find · xargs
  • 02sed · awk
  • 03tar · gzip
  • 04curl
  • 05ps · kill
SH

Terminal Shell Advanced

Senior · ~6h · 30 lessons

Real shell scripting — variables, conditionals, loops, functions. The skill behind every deploy script.

  • 01Variables & quoting
  • 02if · for · while
  • 03Functions · arrays
  • 04Heredocs · exit codes
  • 05Mini project — deploy.sh
ready when you are

Stop watching tutorials.
Start shipping code.

Free forever to start. No credit card. No setup. Just open a track and write your first line in under 60 seconds.

✓ no install✓ runs in your browser✓ cancel anytime