About
About PyWebLib
PyWebLib is a free place to write real Python in your browser and share it: games, turtle drawings, whatever you dream up. No install, nothing to download. Open a tab and code.
What it is
Everything runs on real CPython, right in your browser. That means actual print(), input(), loops, functions and imports, not a toy imitation. On top of that, PyWebLib adds a few things that make it fun:
- Games with
import game: sprites, the keyboard and mouse, collisions, sound and a score, all on a smooth canvas. - Turtle drawings with the classic
import turtle. - Coloured output, a working
input(), and an Asset studio for designing your own sprites. - A community to publish what you make, play everyone else's, upvote, comment and climb the leaderboards.
Why
Getting started with Python usually means installing things, wrestling a terminal, and giving up before the fun part. PyWebLib skips all of that. It works on a school Chromebook, a library computer, or a phone. Just open the page and you are writing Python in seconds.
How it works
The Python engine is Pyodide, real CPython compiled to WebAssembly. Your code runs on your own device, in the browser tab, never on a server. The editor uses CodeJar with Prism highlighting, and the community side (accounts, sharing, comments) is powered by Supabase. Games and turtle keep animating smoothly without freezing the tab, a trick that works best in Chrome and Edge.
Free and open source
PyWebLib is a hobby project, free to use, and released under the MIT license. There are no ads and no tracking. See the Privacy Policy for exactly what little is collected.
Learn more
New here? The docs walk you through everything, from your first loop to a full game.
Contact
Questions, ideas or bugs: hello@qmarkapp.com