Skip to main content

Run real Python, right here

Pick a starter or write your own, then press Run. Or open the ML builder and drag blocks together to train a real model. Free, no sign-up, and your code never leaves this page.

Building a web page instead? Open the HTML & CSS editor, or pick a guided project.

How it works

Everything runs in your browser

Python here is Pyodide 0.27.7: the real Python 3.12 interpreter, compiled to WebAssembly. Your code runs on your own device, in a background worker, so the page stays responsive even if a loop never ends.

Nothing is uploaded

There is no server and no account. Your code is saved in this browser only, and Share packs it into the link itself, after the #, which browsers never send to a server.

The ML builder writes real code

Each block you drag in becomes a commented section of ordinary scikit-learn code, shown beside the pipeline. Open it in the editor whenever you want to change it by hand.

Good to know

The first Run downloads Python (about 10 MB), and big libraries load the first time you import them; after that your browser keeps a copy. Runs stop after 30 seconds, input() reads from an answer box you fill in first, and Python here has no internet access.

Want something to build? The Python track and the machine learning track have Run buttons on their Python examples, too.