To run the Python script the easier way is to create a Python type website and create
public_python/passenger_wsgi.py file with your code, for example:
def application(environ, start_response):
start_response("200 OK", );
return "Hello, world!"
The second option is to run your own CGI application: https://docs.serv00.com/CGI/ with that it is possible to serve
hello.py like yours.