Python playground: write and run code right in your browser, no installation

Editor

Try:

Output


        
📚 How it works and what is available

Real CPython in the browser. The code runs on Pyodide — the Python interpreter compiled to WebAssembly. Nothing is sent to any server: everything is computed on your device, and the engine is cached after the first visit.

Libraries. NumPy, OpenCV, pandas, matplotlib and hundreds of other binary packages load automatically on import. Any pure-Python package from PyPI installs via the "Install package" button (micropip). Packages with native code outside the Pyodide build, sockets and subprocess do not work.

Images. The show(img) function renders a numpy array (BGR or grayscale) or ready-made PNG bytes in the panel below the code — handy for OpenCV experiments.

Files from your computer. "Open folder" gives access to a local folder: edit and save files right from the browser (Ctrl+S). The browser asks for permission — access stays within this tab only.

The code runs locally in your browser — files and data never leave your computer