Running a Python project on plugin Action

I have a relatively simple task at hand but I am not sure where to start.  

I would like to:

  • Run a python project on button press. 
  • Capture the output of this run. 
  • Use this output to annotate a file opened in the editor. 

I don't know, for example, if this can be done using only an Action class or if I need to set up a Run Configuration and an Executor. 

Please sign in to leave a comment.