Write Python.
Press Run.
Play it instantly.
PygonX is a Python editor that lives in your browser. Build a script or a small game, run it on the spot, save it to your account, and come back to keep editing — no installs, no setup.
import pygonx pygonx.init(320, 200, title="Bounce") x, y, vx, vy = 40, 40, 160, 120 # update runs every frame def update(dt): global x, y, vx, vy pygonx.clear("#0b1b2b") x += vx * dt; y += vy * dt if x < 0 or x > 280: vx *= -1 if y < 0 or y > 160: vy *= -1 pygonx.circle(x, y, 16, "#2E9E5B") pygonx.run(update)
Everything between "I have an idea" and "it works."
No installer, no terminal, no version mismatches. Open a tab and start typing Python.
Run anytime, instantly
Real Python runs straight in your browser tab. Hit Run to see output or play your game — no waiting on a server.
Download as HTML
Turn any project into a single playable HTML file you can send to a friend or host anywhere — no PygonX account needed to open it.
Your projects, saved
Sign up to keep every project in your dashboard. Pick up exactly where you left off, on any device.
Built for games, too
The built-in pygonx module gives you a canvas, key presses, and a game loop — beginner-friendly, pygame-style.
A real editor
Syntax highlighting, line numbers, and auto-indent so your code is easy to read while you write it.
Nothing to install
Works on a school Chromebook or your own laptop. Python runs through WebAssembly — there's nothing to download to code.
From blank tab to playable game in four steps.
Create an account
Takes under a minute — just a username, email, and password.
Press "New project"
You land straight in the editor with a starter script ready to edit.
Write & run
Press Run any time to see your output or play your game on the spot.
Save or download
Save to your dashboard to keep editing later, or download a standalone HTML file to share.
Ready to plug in?
Your first project is one click away.