Your concept of python scripts are totaly wrong. Don't treat them like PHP scripts where you can have
<html>
<?php
echo "<title>Hello World</title>";
?>
</html>
an mod_php
will parse it and execute php code to form final html page.
It's better to say that you have python application where mod_python
and mod_wsgi
provides interface (gateway) for apache to communicate with your application.
I have been asked quite a lot of times if one can write python web application without framework. Of course you can but you have to deal with HTTP meet and bones like headers and respones codes. Look at http://lucumr.pocoo.org/2007/5/21/getting-started-with-wsgi/.
So I'd suggest using framework.
If you don't want to mess with running your application like deamon look at, for example, this page http://flask.pocoo.org/docs/deploying/mod_wsgi/. It shows how to run flask app with apache and mod_wsgi
.