Free and open source

Real Python.
In your browser.
Nothing to install.

Turtle drawing, a beginner game library, coloured output and working input(). It is real CPython compiled to WebAssembly, so every line runs on your own device, in the tab. No account needed to start.

Works on school Chromebooks, iPads and anything with a browser.

What you get

Turtle that actually draws

The turtle you already teach, rendered as crisp SVG in a real window. Loops, colours, stamps and fills all behave the way the textbook says.

A game library for beginners

Sprites, boxes, labels, collisions, sound, save games and full-screen play. Enough to build something a kid actually wants to show a friend.

Nothing to download

No Python install, no pip, no admin password, no "it works on mine". Open a tab and the interpreter is already there.

Share what you make

Publish a program to the community gallery, collect upvotes and comments, and put your game on its own leaderboard.

Draw your own sprites

The asset studio lets you build SVG sprites in the browser and drop them straight into a game with game.sprite(id, asset=True).

It runs on your device

Code never leaves the tab to execute. Nothing is sent to a server to be run, which is why it stays fast and works offline once loaded.

Built for classrooms

PyWebLib started as a way to teach Python to students who could not install anything. Teachers can hand out a class code and a short PIN instead of asking thirty kids to make accounts. Students appear publicly under an anonymous handle, never their real name.

0things to install
100%runs client side
MITopen source

Ready to write some Python?

The editor opens with an example already in it. Press Run.

Open the Playground