Lunarpages Web Hosting Forum

Author Topic: python in web page  (Read 3801 times)

Offline darkrainbow

  • Newbie
  • *
  • Posts: 2
python in web page
« 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!"