HomeAll tracks · pricing · account
Python11 apps · Python, SQL & data
Start free Log in

Python{ }

BitSize Apps

Python and data-science recipes — taken all the way through. Read, predict, run.

11 apps live 62 modules 90 recipes

One language, taken all the way through.

62 sequenced modules of Python foundations — from data types to advanced patterns — and 810+ lessons across Foundations, Recipes, Algorithms, Patterns, Pandas & NumPy, PostgreSQL, Statistics & Probability, Statistical Tests, Machine Learning, Deep Learning and Data & MLOps. Lessons ask you to predict before they show you, and most run real code right in your browser — in BitSize Python, every module is the same loop: read the code, predict the output, run it.

The apps. 11 live now.

{ }

BitSize Python

62 modules from data types to advanced patterns. The Python foundations course.

62 sequenced modules
Read · Predict · Run loop on every module
Foundations → Patterns → Advanced
Enter BitSize Python →
π

Python Recipes

Real-world data-science recipes — Pandas, NumPy, plotting, workflows.

90 Recipes
Tasks · playground · reference card
Starter → Simmering → Chef progression
Enter Python Recipes →
⟡

Algorithms

Every classic algorithm, animated: searching, sorting, trees, graphs, shortest paths, greedy and dynamic programming. Step through the real Python line by line and keep the rules of thumb.

80 Lessons
Enter Algorithms →
⇄

Python Patterns

Data structures & algorithms — one interview pattern per lesson, with animated traces.

50 Patterns
Enter Python Patterns →
▦

Pandas & NumPy

Hands-on data wrangling, run in your browser.

64 Lessons
Enter Pandas & NumPy →
⛁

PostgreSQL

Real Postgres in your browser — query, join and shape data.

57 Lessons
Enter PostgreSQL →
σ

Statistics & Probability

NumPy, SciPy and statsmodels, with animated charts and sliders.

57 Lessons
Enter Statistics →
⟡

Statistical Tests

Every test on one map: why it exists, when to use it, when not to, its classic misuse simulated, and the SciPy code.

82 Lessons
Enter Statistical Tests →
⟡

Machine Learning

scikit-learn in bite-sized chunks: live decision maps, then the code, piece by piece.

78 Lessons
Enter Machine Learning →
⟡

Deep Learning

PyTorch in bite-sized chunks: tensors you can see, shapes on every line, then networks you build yourself.

120+ Lessons
Enter Deep Learning →
⟡

Data & MLOps

Everything around the model on one System Map: pipelines, storage, orchestration, data quality, Docker, tracking, deployment and monitoring, with what to use, when and why.

74 Lessons
Enter Data & MLOps →

The method, in BitSize Python. Read, predict, run.

01 · Read

Read the code. Carefully.

Every module opens with one small, focused snippet. No filler files, no project scaffolding — just the idea, distilled to the fewest lines that can teach it.

tally.py
def tally(items):
    counts = {}
    for x in items:
        counts[x] = counts.get(x, 0) + 1
    return counts

tally(["a", "b", "a"])

Default lookup

counts.get(x, 0) returns 0 when x isn't in the dict yet — no KeyError.

Return shape

Returns a dict of str → int. Before scrolling, can you name the keys it'll contain?

02 · Predict

Predict the output. Before you run it.

Call the output before Python does. The difference between recognizing syntax and reading code — we make you do this on every module.

comprehension.py
nums = [3, 1, 4, 1, 5, 9]
double = lambda x: x * 2
big = [double(n) for n in nums if n > 2]
print(big)

What will print(big) show?

A[6, 2, 8, 2, 10, 18]
B[6, 8, 10, 18]
C[3, 4, 5, 9]
D[6, 8, 10]
03 · Run

Run it. See if you were right.

Output appears beside your prediction. If you were off, you see exactly where your model diverged from reality — and you fix it now, not next quarter.

tally.py
def tally(items):
    counts = {}
    for x in items:
        counts[x] = counts.get(x, 0) + 1
    return counts
Output
→{'a': 2, 'b': 1}
·finished in 0.00s

Start with Module 1.

Module 1 of every Python app is free. No account needed.

Try Module 1 free →