Whatever fits your needs. Python files are text files. It opens in any text editor. But i would choose a code editor since it gives you syntax highlighting. VS Code for example Or Notepad ++. You can also open it from within Bforartists, in the scripting layout.
Attachments:
This is my signature. You can change your signature in the profile