I’m to use amazon web services with some python scripts I have created.
I have used PHP in the past and now I want to write a web application using python but without a web frame work such as Django (I found many tutorials for that).
While using PHP, it was enought to place my files in a dedicated directory (such as /var/www) and then the server would process them.
How is the same thing achieved with Python scripts?
What are the Django python scripts doing?
Thanks
It varies slightly based on the framework that you’re using, but in general you need to point your web server at a
wsgifile. For doing this with Django, see: https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/ and http://lucumr.pocoo.org/2007/5/21/getting-started-with-wsgi/ for an overview of WSGI.