title: Why am I getting a syntax error on the first line of this code?
body: <p>I cannot understand what the syntax error is.</p>
  <pre><code>application(environ,start_response):
      status = '200 OK'
      html = '&lt;html&gt;\n' \
             '&lt;body&gt;\n' \
             ' Hooray, mod_wsgi is working\n' \
             '&lt;/body&gt;\n' \
             '&lt;/html&gt;\n'
      response_header = [('Content-type','text/html')]
      start_response(status,response_header)
      return [html]
  </code></pre>
  <pre><code>  File &quot;test_wsgi_script.py&quot;, line 1    application(environ,start_response):
                                         ^
  SyntaxError: invalid syntax
  (scripts) root@django:/var/www/scripts#
  </code></pre>