Adding Shortcut to Plain Python Script?

Hi,

Is there a way I can add a shortcut to a python script?

I have several python scripts in a folder and I would like Blender to read them and eventually execute them via a shortcut instead of opening them one by one in the text editor.

Currently, all the threads I have encountered don’t address the question directly (like this one)
They seem to suggest to convert the Python Script to a Python Add-On or Plug-in.

Can someone confirm if it’s possible at all to add shortcuts to a plain python script? Or must I convert it to Python Add-on or Plugin for it to work?

Thank you for looking at my problem.

They need to be operators to be able to assign shortcuts to them, whether you turn them into an add-on or not. Turning them into add-ons makes it easy to add them to and remove them from Blender.

You can add all your operators(scripts) into a single add-on.

@kkar

Thanks for the confirmation. I guess I’ll have to learn operators/add-ons afterall.