🧪 Playground
Cargando Python (15 MB, una vez)…Ejecuta Python en tu navegador
CPython completo vía Pyodide. Escribe, ejecuta, comparte. El código vive en la URL — copia el enlace y el destinatario ve tu snippet exacto.
NEW✨ Refactor Coach — paste any Python, get a senior review →Iniciando CPython en tu navegador…
○Descargando Pyodide WebAssembly (≈ 4 MB)○Cargando el intérprete CPython○Montando la biblioteca estándar○Listo — shell Python 3.12 limpioConsejo: mientras Python carga, edita el código de la izquierda.
Headless matplotlib via Pyodide — figure renders inline in the output panel.
Memory-friendly streaming with yield and generator expressions.
with-statement support via class + via @contextmanager decorator.
groupby, accumulate, pairwise, combinations — the lazy toolkit.
Real-world decorator patterns: logging wrapper, functools.cache, retry on failure.
Real database (in-memory) — no install. Create, insert, query, parameterise.
Padding, alignment, thousand separators, dates, debug syntax.
Real cleaning: parse dates, strip whitespace, fill missing, dedupe.
@property + @setter pattern for invariant-protected attributes.
Consejos
- Cmd/Ctrl + Enter ejecuta.
- Pyodide incluye pandas, numpy, scipy, matplotlib — impórtalos.
- El botón Compartir pone tu código en la URL — pega donde quieras, sin signup.
- El código persiste en tu navegador entre visitas.
- Paquetes no incluidos (requests, httpx, pydantic, attrs) se instalan vía micropip en el primer run.