87 KBThat’s the whole editor.

PyNi.A small editor.
For your Python ideas.

A tiny Python editor at just 87 KB. Write your code, press F5, and run it in the built-in shell. For Windows, Mac, and Linux.

Python 3 required · Built with Python & Tkinter

PyNi showing Python code above its interactive shell
The editor and shell, together in one window.

Small, with the essentials.

The tools you need to write and run Python.

An interactive shell

Run your module with F5. Use input(), explore your variables afterwards, and recall commands from the shell history.

An editor that helps

Syntax highlighting, line numbers, bracket matching, auto-indent, and word and module completion.

Keep your files together

Open several files in tabs, switch between them, and return to your recent files.

Find what you need

Find and replace with match case, whole-word and regular expression options. Jump straight to a line.

Make it comfortable

Switch between light and dark themes, change the zoom, and turn word wrap on or off.

Find the problem

Check syntax before you run. Double-click a traceback line to jump straight to the error.

From an idea
to your first run.

Write a script in the editor, then keep experimenting in the shell.

  1. Open or create a fileKeep multiple files open in tabs.
  2. Press F5Run the module in the built-in Python shell.
  3. Try something elseYour variables stay available after the program finishes.

A few useful shortcuts

Run moduleF5
FindCtrl + F
SaveCtrl + S
CompletionCtrl + Space
Change themeCtrl + T
Check syntaxAlt + X

Use Cmd instead of Ctrl on Mac. Some keyboards require Fn with function keys.

Ready to try PyNi?

Get the app for Windows or Mac, or run the Python script.

Get PyNi ↓