Playground
A blank Python 3.14, running in this tab. Nothing is uploaded, nothing is installed, and what you type is saved in this browser for next time.
Things worth knowing
- The first run is slow. Python itself has to arrive — about 11 MB, once, then cached by your browser. Every run after that starts instantly.
-
input()really blocks. The prompt appears in the output and the program waits. Enter sends a line; the EOF button ends input. - Runaway loops are safe. Code runs in a worker, so Stop can always kill it — the page itself never freezes.
- Some things are missing.
A browser has no threads, no
subprocessand no raw sockets, so those parts of the standard library will not work here. Everything else does.