I recently discovered that Rhino 8.10+ will _-ScriptEditor _Run a Python script when the file is dragged from Windows Explorer onto a viewport. This offers a convenient way to execute scripts that aren’t set up as commands or aliases, especially those used only occasionally.
The file name must end with .py; .py2 and .py3 are not supported.
This does not work for C# scripts (.cs or .csx).
This issue, RH-82540 was solved for both platforms.
RH-82540 seems to be a duplicate of RH-46719, so the latter should also be closed.