The Python Script has to go on a server somewhere for Alexa to access it.
The Relay Control files are a sample water heater control via a relay on a GPIO.
To run Python Scripts in a Windows machine as an exe file, use the following steps:
from distutils.core import setup import py2exe setup(console=['nameoffile.py'])
The complete writeup is here as an image: