🧪 Площадка
Зареждане на Python (15 MB, еднократно)…Стартирай Python в браузъра
Пълен CPython чрез Pyodide. Пиши, изпълнявай, споделяй. Кодът живее в URL — копираш линка и получателят вижда точния ти снипет.
NEW✨ Refactor Coach — paste any Python, get a senior review →Стартираме CPython в браузъра…
○Изтегляне на Pyodide WebAssembly (≈ 4 MB)○Зареждане на интерпретатора CPython○Монтиране на стандартната библиотека○Готово — чист Python 3.12 шелСъвет: докато Python се зарежда, редактирай кода вляво.
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.
Съвети
- Cmd/Ctrl + Enter изпълнява.
- Pyodide включва pandas, numpy, scipy, matplotlib — импортирай директно.
- Бутонът Сподели поставя кода в URL — постави където и да е след безплатна регистрация.
- Кодът се запазва в браузъра между посещенията.
- Не-stock пакети (requests, httpx, pydantic, attrs) се инсталират през micropip при първото изпълнение.