Py
Browser Python Studio
IDE · v3.1
main.py
>>>
How should this program receive values from input()?
Each call to input() consumes one line from top to bottom. This mode is useful for repeatable tests and marking.
Install a package or Pyodide-compatible wheel
Native Windows/macOS/Linux wheels are not compatible. Use pure-Python or wasm32/emscripten wheels.
Requested packages
Pygame: use pygame-ce; imports remain import pygame. PyCharm: it is a desktop IDE, not a Python wheel. Export the project ZIP and open the extracted folder in PyCharm.
Ctrl/Cmd + Enter
Run the active file.
Ctrl/Cmd + S
Export the active file.
pip install name
Install from the interactive console.
clear
Clear console output.
input()
Use Preload input for a fixed list, or Enter input to respond while the program is running.
Status hexagon
Hover or focus it for the current state. Click it to open input, jump to a recognised error line, or inspect Output.
Error guide
Common Python tracebacks are translated into student-friendly explanations and repair steps. Unmatched failures are labelled Unknown Error.
pygame
Runs in the canvas. Use an async loop and yield with await asyncio.sleep(...).
matplotlib
Figures appear in Program display after execution.
Example library categories
The first runtime and package loads require internet access. The studio first uses a dedicated worker, then automatically falls back to an isolated frame if worker policy blocks startup. Uploaded wheels must be pure Python (-none-any.whl) or WebAssembly wheels tagged wasm32. PyCharm is a desktop IDE and is supported through project ZIP export.