Skip to content
igaurab edited this page Nov 18, 2026 · 5 revisions

gpython is a Python notebook that runs in the terminal. Each cell knows the variables it defines and the variables it uses. gpython uses this data to run cells in the correct sequence.

The package name on PyPI is gpynb. The commands are gpython and gpy.

Start here

If you want to Read
Install gpython and run your first cell Getting started
Find a key Keys or press f1 in gpython
Find a : command Commands
Change a setting, or find the config file Configuration
Repair a problem Troubleshooting

All pages

Use the notebook

Page Contents
Getting started Installation, the screen, the three modes, a first session
Command line The options of the gpython command
Running cells Run modes, the r keys, concurrent cells, the rules for names
Keys Keys for all modes, cell mode and the panels
Commands All : commands
Vim The editor: normal, visual and insert mode
Markdown cells Text cells, pictures in text cells
Variables and the debugger The variables panel, breakpoint(), recorded steps
Images Figures in the terminal, the image viewer, :img

Set up the workspace

Page Contents
Configuration All settings, the config file, environment variables, the files gpython writes
Files, windows and tabs File explorer, file finder, outline, windows, tabs, buffers
Python environments Environments, uv projects, package installation
Themes and status bar Themes, the bottom bar, cell headers
File formats .py scripts, # %% cells, marimo notebooks, .ipynb

Help and project

Page Contents
Troubleshooting Known problems and their solutions
Development Source layout, tests, benchmarks, releases

Clone this wiki locally