title: apache - wsgi - python - basic example
body: <p>So I was advised to use <strong>wsgi</strong> instead of cgi, so I tried to set it up with following settings for a <strong>basic example</strong>, without Django:</p>
  
  <p><strong>specs:</strong></p>
  
  <ul>
  <li>linux Kubuntu, apache 2.4, python 3.5</li>
  <li>apache is running, mod_wsgi installed and enabled</li>
  <li>website files are in root/var/www/html/, I have sudo access to this folder</li>
  <li>the python 3.5 path is usr/bin/env python3</li>
  <li>the python script: "index.py, simplest of scripts, has been made executable</li>
  <li>the python executable lives in root/var/www/scripts</li>
  </ul>
  
  <p><strong>Questions:</strong></p>
  
  <ul>
  <li><p>how do I make this function spit out it's result</p></li>
  <li><p>what's the deal with this wsgi script?  I have no need for that, I also do not want any wsgi extensions</p></li>
  <li>what apache directive do I need to introduce to run a script </li>
  <li>So where does the 'application' function live?</li>
  </ul>
  
  <p>Really lost in this wsgi idea, some clarification might help</p>