I am learning cgi python programming and I did put my test.py file in the cgi folder in free hosting service with following code.
#!/usr/bin/python
print "Content-type:text/html\r\n\r\n"
print '<html>'
print '<head>'
print '<title>Hello Word - First CGI Program</title>'
print '</head>'...