Lunarpages Web Hosting Forum

Scripting Languages Hosting Help => C++ / PERL / CGI Support => Topic started by: darkrainbow on May 13, 2010, 04:43:38 AM

Title: python in web page
Post by: darkrainbow on May 13, 2010, 04:43:38 AM
Hi Support,

I would like to run a simple python in web site, but it come out as a text instead (expect "Hello World")
Could you show me an example?


#!/usr/bin/python


print "Content-Type: text/html;charset=utf-8"
print

print "Hello World!"