← All apps

Python Playground

Edit and run Python in your browser (Pyodide / WebAssembly). Press Ctrl+Enter to run.

Loading Python…

Runs entirely in your browser (Pyodide) — nothing is executed or saved on the server. A data-science stack preloads in the background (NumPy, Pandas, SciPy, scikit-learn, statsmodels, Matplotlib, Seaborn, Polars, PyArrow, NetworkX, SymPy, scikit-image, Altair, wordcloud, igraph, and more). Heavier libs (OpenCV, DuckDB, GeoPandas, XGBoost, Cartopy, NLTK, …) install on first import. Disk writes are blocked; keep results in memory, print, or plt.show().

Python

Saved

Console

Plot

Matplotlib figures appear here after plt.show().