'Through what means can I add a custom script to my nedit text editor?

I'm reasonably confident this is possible. I have a python script that utilizes tkinter to do various tasks. Is there a way to integrate it into nedit such that it runs in the background? I think I need to edit the shell path, but I'm not entirely sure. Mainly I would like documentation for the nedit editor with respect to adding scripts. What I have found thus far is related to Macros, which I'm pretty sure is not what I want.

I don't have a choice but to use nedit so I want to add some QOL features.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source