title: Python 3 cgi script doesn't work, but python 2 works
body: <p>I'm new to cgi programming :) I have the following python cgi-scripts, one in python2 and the other in python3. The servers works well with the python2 script but it doesn't run the python3 one. python3.2 is installed on the server.</p>
  
  <p>Here is the python2 script:</p>
  
  <pre><code>#!/usr/bin/env python
  
  print "Content-type: text/html"
  print ""
  print ''' 
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Hello Word - First CGI Program&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h2&gt;Hello Word! This is my first CGI program&lt;/h2&gt;
  &lt;/body&gt;
  &lt;/html&gt;'''
  </code></pre>
  
  <p>Here is the python3 script</p>
  
  <pre><code>#!/usr/bin/env python3.2
  
  print("Content-type: text/html")
  print("")
  print(''' 
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Hello Word - First CGI Program&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h2&gt;Hello Word! This is my first CGI program&lt;/h2&gt;
  &lt;/body&gt;
  &lt;/html&gt;''')
  </code></pre>