Hi everyone,
I wanted to share a small tool I have been working on for the PicoCalc: PicoEdit, a compact Python code editor designed specifically for very small terminal screens.
The idea behind PicoEdit is simple: provide a lightweight, self-contained editor that makes it comfortable to write, edit, save, and run Python scripts directly on the PicoCalc, without needing a full desktop environment or a large editor.
It is written as a single Python file, uses only the standard library and curses, and is designed around a compact terminal layout of about 53 columns by 26 rows, using a 12×6 pixel font.
Some current features:
-
Python syntax highlighting
-
Simple top menu:
File,Edit,Search,Run,Help -
Internal file browser for
.pyfiles -
Save / Save as
-
Undo / Redo with 10 levels
-
Copy, cut, paste, and duplicate lines
-
Find / Find next
-
Run the current Python script from inside the editor
-
Basic Python auto-indentation
-
Simple retro-style terminal interface
This is not meant to replace Vim, Nano, or full desktop editors. The goal is much more modest: a practical editor that feels usable on the PicoCalc screen and keyboard, especially for quick Python experiments.
You can find the project here:
Feedback, ideas, and suggestions are very welcome.