You are using wrong syntax of print statement for Python. http://yash.heliohost.org/cgi-bin/1.py
#!/usr/bin/python
print('Content-Type: text/plain\n\n');
print('Python is working!');
This might help: http://www.heliohost.org/home/features/languages/python Also, if you could post your script, so that we can come to know the problems. Also, they should be kept in the cgi-bin directory to be executed.