Print

nano /www/cgi-bin/test.py
#!/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>'
print '<body>'
print '<h2>Hello Word! This is my first CGI program</h2>'
print '</body>'
print '</html>'
chmod 755 /www/cgi-bin/test.py

View result at "http://192.168.0.102/cgi-bin/test.py"

Hello Word! This is my first CGI program