title: Running Python Code on Xampp on windows platform
body: <p><strong>XAMPP-PYTHON-WINDOWS</strong></p>
  
  <p>I have installed Xampp. I'm running the apache web server and mySql service. I want to host my python code on my web server. However, I am having a hard time setting up python with Xampp. I read about modwsgi, downloaded it and pasted it in the modules folder. I have python 3.2 installed on my C drive.</p>
  
  <p>Please let me know what should I do next, as in where should i paste my python files and how should I execute them through a web browser? I should be able to do this:</p>
  
  <p><a href="http://74.xxx.xxx.xx/python/test.py" rel="nofollow">http://74.xxx.xxx.xx/python/test.py</a> (localhost/python/test.py)</p>
  
  <p>and this should execute the python code. </p>
  
  <p>When I try to do the above, i get this:</p>
  
  <hr>
  
  <p>Server error!</p>
  
  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.</p>
  
  <p>If you think this is a server error, please contact the webmaster.</p>
  
  <p>Error 500</p>
  
  <p>74.194.129.16
  3/2/2011 2:11:16 AM
  Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1</p>
  
  <hr>
  
  <p>All the help is highly appreciated. </p>