Before you start

How to use these workshops

Most lessons run right on this site, using Pyodide, a project that runs real Python in your browser. Here's what to know before your first click.

Getting started

No download, no install and no account. Each lesson has instructions to read and code you can edit and run.

  1. Step 1: Open the next lesson

    Go to a workshop and open the lesson marked "Up next". It opens right on this site.

  2. Step 2: Run each cell, top to bottom

    Click Run under a code cell to see its output. The first run on a page takes a few seconds while Python loads.

  3. Step 3: Check it, then mark it done

    Practice problems tell you if you got it right. Then mark the lesson done and click Next.

Work in order

Each workshop is split into parts. A part starts with lessons that teach one idea, followed by practice and challenges that use it. Every lesson page shows where you are, such as "Step 4 of 14", and has a list of every lesson in the workshop.

Your progress is saved on this device

When you mark a lesson done, this browser remembers it and shows a checkmark. Nothing is sent to us and there's no login, so your progress won't follow you to another computer. Clearing your browser data resets it.

Your code doesn't save yet

Leaving or refreshing a page resets every code cell to its starting code. If you write something you want to keep, copy it somewhere else first. The FAQ has more.

A few things still use Google Colab

The Workshop 3 and 4 final projects (Rock, paper, scissors and Connect 4) and every answer key open in Google Colab instead of on this site. Colab needs a Google account, so sign in with your school account or a personal one. Everything else runs here with no account at all.

Using a school Chromebook

Everything works in the browser on a locked-down Chromebook. The first time Python loads on a page, your browser downloads it, which can be slow on school wifi. Give it a few extra seconds, and see the FAQ if it still won't load.

Ready to start?

Open Workshop 1 if you're brand new, or pick up where your class left off.

Start Workshop 1