I built a Python playground with Pyodide and Ace in ~100 lines of JavaScript

1 alexprengere 1 6/29/2025, 9:52:01 AM alexprengere.github.io ↗

Comments (1)

alexprengere · 9h ago
I never realized how easy it was to put all this together. ~100 lines of CSS, ~100 lines of JS.

All the Python code execution is happening in your browser using Pyodide (a port of CPython to WebAssembly), so once the page is loaded, it should work even without internet.

You can even use GitHub pages to serve this statically. So I did: https://alexprengere.github.io/python_playground/

Sources: https://github.com/alexprengere/python_playground