... followup... I take that back I think using python.exe as the executable and pytest.py as the argument DOES work. Unfortunately my example was just supposed to display to screen which never appeared. When I changed the action to write a physical file it did write the file.
Sorry to waste your time. I will carry on experimenting.