python scripts for web

Zero Piraeus schesis at gmail.com
Thu Oct 18 04:42:31 EDT 2012


:

On 18 October 2012 04:10,  <chip9munk at gmail.com> wrote:
> I will give you an example. So let us say I create two simple python
> scripts, one does the sum of two numbers
> the other one does the multiplication. SO now I want to put these
> scripts on the server. Now let us say there is a web page that would
> like to use these scripts (do this calculation). How do I do a
> "program" that will listen for the requests
> from the web page and call the scripts on the request?

That is exactly what a webserver does. Is there some reason you don't
want to use e.g. Apache to handle the requests?

 -[]z.



More information about the Python-list mailing list