pdit
Output-focused Python editor
What is pdit?
pdit lets you write regular Python files and see execution results inline, like a notebook but without cells. Edit in your browser or your favorite editor.
Quick Start
pip install pdit
pdit script.py Features
- Output-focused - Results appear inline next to the code that generated them
- Just Python scripts - No notebooks, no cells, no special format. Work with plain
.pyfiles - File watching - Changes to the file on disk automatically reload in the editor
- Auto-run - Execute code automatically when the file changes
- Coding agents - Perfect companion for Claude Code, Cursor, and other AI coding tools that edit files
Rich Output
- IPython display - Rich outputs via IPython.display
- Matplotlib - Inline plot rendering
- Interactive DataFrames - Sortable, searchable tables
- Markdown - Format text output with Markdown