Okay, I think that mac is just not liking the idea of removing the .py or .pyc from the end of the path and then reconstructing it when trying to run a script. More likely, it doesn't like the notion of how I'm doing it (syntax).
Give me a min to write a version closer to the original...
.