What it does
PyViz runs a Python interpreter locally in the browser. Users step through Python code execution and watch variables change. They trace function calls and see the call stack evolve line by line. They can play, pause, rewind, or jump to any step. They can also adjust playback speed to match their learning pace.
Capabilities
- Interactive diagrams show heap objects, stack frames, and pointer references.
- Curated algorithm examples cover sorting, recursion, linked lists, binary search, and more.
- PyViz works in any browser with zero installation.
- PyViz needs no signup.
When to use it
- Learning algorithms and data structures.
- Teaching computer science concepts.
- Preparing for coding interviews.