title: Do I have to use "def application" with the wsgi_module?
body: <p>So I installed python on my server and I'm using the wsgi_module with apache.</p>
  
  <p>Do all my python programs have to use this format:</p>
  
  <pre><code>def application(environ, start_response):
      headers = []
      headers.append(('Content-Type', 'text/plain'))
      write = start_response('200 OK', headers)
  
      input = environ['wsgi.input']
      output = cStringIO.StringIO()
  
      print &gt;&gt; output, "test"
  
      output.write(input.read(int(environ.get('CONTENT_LENGTH', '0'))))
      return [output.getvalue()]
  </code></pre>
  
  <p>Is there anyway to set it up so I can write python scripts and just have:</p>
  
  <pre><code>print "test"
  </code></pre>