Still having a problem with this.

Same issue as below script runs when I issue it at the command prompt python    made the script executable
Made executable, but doesn't run in scheduler.

Does the script need to be in a particular directory?

All I am trying to do is briefly close then open a relay to trigger the closure of my roof.  Is there a better way?