How to run python script in webpage
<p>I'm very new to python. Just know what is python.
I have created the below code (In python IDLE):</p>

<pre><code>print "Hi Welcome to Python test page\n";
print "Now it will show a calculation";
print "30+2="; print 30+2;
</code></pre>

<p>Then I saved this page in my localhost as index.py</p>

<p>I run the script using
<a href="http://localhost/index.py" rel="nofollow">http://localhost/index.py</a></p>

<p>But it not showed executed python script. instead it showed the above code as HTML. Where is the problem? please anyone tell me how to run python in webpage?</p>
