Skip to main content

Run real Python, right here

Pick a starter or write your own, then press Run. Python, NumPy, pandas, scikit-learn and matplotlib all work, for free, with no sign-up, and your code never leaves this page.

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.

Libraries load when you import them

The first Run downloads Python (about 10 MB). Importing numpy, pandas, scikit-learn or matplotlib fetches that library the first time; after that your browser keeps a copy.

A few honest limits

Runs stop after 30 seconds. input() reads from an answer box you fill in before running, because the page can't pause Python mid-run. There's no internet access or access to files on your computer from inside Python.

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