Python command help please!

follow the windows instructions - rhino 8 on Mac behaves more or less like this. (EDIT: regarding toolbar / button editing)
You can use _macroEditor to test if the script is found / if your macro is correct:

! _-RunPythonScript "<full path to your script including extension>"

then copy the working macro from the macroeditor to an alias or button.