Get instant documentation in Python

With the following recipe Geany can show a little popup window with documentation for the selected command or module in a Python file.


context_action_cmd = python /path/to/pydocw %s
  • If it already exists, find the line starting with context_action_cmd and edit like this:
context_action_cmd = python /path/to/pydocw %s
  • Restart Geany

Similar instructions can also be found on


Select some string in Geany and right-click on it to choose 'Context Action' or, easier, use the configured shortcut for 'Context Action'. A little popup will open and show the Python documentation for the selected string.

There is a video on YouTube to demonstrate the usage of this little tool: