Write Python right here ⚡
A real Python 3.14 interpreter, running inside this page. Nothing is installed and nothing is uploaded: your code never leaves your machine, because there is no server to send it to.
Output
Press run, or Ctrl+Enter.
💬 input() works: when your program asks a question, your browser pops up a
box. Your draft is saved in this browser automatically.
This is Pyodide: the
actual CPython interpreter compiled to WebAssembly, so it runs at native-ish speed in a
sandbox your browser already trusts. The whole standard library is here: try
import json, import random, import datetime.
What is not here: the network (no requests), your files, and
anything that needs an operating system. For those, do
the ten-minute lab setup and run Python properly on your own
machine.