Say I have a hello.py file in /Users/jsmith. How can I easily run this script from Spotlight? Ideally, I'd like to save myself the trouble of opening a Terminal or Finder window to run it.
Do I have to place a #! /usr/bin/env python3 shebang line at the top? Does it have to be in a folder on the PATH environment variable? I need a way to quickly run a Python script with minimal fuss.