Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31610

Re: python scripts for web

References <98b7e362-14fd-4721-84c8-ae1bc11febac@googlegroups.com> <CANaSqUeAJv3u4EqBymifyKZHey1YohU=O73niTpzYOvZgSV3TQ@mail.gmail.com> <mailman.2409.1350547078.27098.python-list@python.org> <e10b4aba-a725-46c4-aaa9-0035a099a9bf@googlegroups.com>
From Zero Piraeus <schesis@gmail.com>
Date 2012-10-18 04:42 -0400
Subject Re: python scripts for web
Newsgroups comp.lang.python
Message-ID <mailman.2412.1350549775.27098.python-list@python.org> (permalink)

Show all headers | View raw


:

On 18 October 2012 04:10,  <chip9munk@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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python scripts for web chip9munk@gmail.com - 2012-10-18 00:18 -0700
  Re: python scripts for web Zero Piraeus <schesis@gmail.com> - 2012-10-18 03:57 -0400
    Re: python scripts for web chip9munk@gmail.com - 2012-10-18 01:10 -0700
      Re: python scripts for web Zero Piraeus <schesis@gmail.com> - 2012-10-18 04:42 -0400
        Re: python scripts for web chip9munk@gmail.com - 2012-10-18 02:22 -0700
          Re: python scripts for web Zero Piraeus <schesis@gmail.com> - 2012-10-18 06:02 -0400
            Re: python scripts for web rurpy@yahoo.com - 2012-10-18 08:14 -0700
            Re: python scripts for web chip9munk@gmail.com - 2012-10-18 09:01 -0700
          Re: python scripts for web Chris Angelico <rosuav@gmail.com> - 2012-10-18 21:02 +1100
            Re: python scripts for web chip9munk@gmail.com - 2012-10-18 09:03 -0700
              Re: python scripts for web Zero Piraeus <schesis@gmail.com> - 2012-10-18 17:09 -0400
                Re: python scripts for web chip9munk@gmail.com - 2012-10-18 23:05 -0700
                Re: python scripts for web Gilles <nospam@nospam.com> - 2012-10-19 12:32 +0200
                Re: python scripts for web chip9munk@gmail.com - 2012-10-23 02:17 -0700
        Re: python scripts for web chip9munk@gmail.com - 2012-10-18 02:22 -0700
    Re: python scripts for web chip9munk@gmail.com - 2012-10-18 01:10 -0700
  Re: python scripts for web chip9munk@gmail.com - 2012-10-18 09:07 -0700

csiph-web