Beginner, trying to setup Python
<p>I'm a PHP programmer, but I want to learn Python. I'm a bit confused with how to actually execute a script. I've created test.py in my web server root, in the file I've written:</p>

<pre><code>#!/usr/bin/python
import jon.cgi as cgi
import jon.fcgi as fcgi

print "Content-type: text/html"
print "hello world"
</code></pre>

<p>My server is running Litespeed on CentOS 5, following the tutorial at: <a href="http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:python_fcgi" rel="nofollow">http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:python_fcgi</a> I've installed Jon's CGI.</p>

<p>But when I navigate to the script in my browser it just prints the full code, as if it's not parsing it. Sorry if I'm asking a stupid question, I would really appreciate any help, thanks.</p>
