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


Groups > comp.lang.python > #31610

Re: python scripts for web

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <z@etiol.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'received:209.85.223': 0.03; 'scripts': 0.09; 'python': 0.09; 'scripts,': 0.09; 'subject:python': 0.11; 'apache': 0.13; '(do': 0.16; 'wrote:': 0.17; 'example.': 0.17; 'requests': 0.18; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'e.g.': 0.30; 'server.': 0.32; 'handle': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'october': 0.37; 'does': 0.37; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'sum': 0.66
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type :x-gm-message-state; bh=zq0tp2Bi12u+qWvRRSNx17SnjSHGwyq1zq9KzhlGIOs=; b=JQETFXXbG2cqkCb/z1cLHqgd2TpHyaYdKBX33eprb3d/wGwUNgCJ8n5bo0tnka8E0o peTAPiZ7zGZW0ySBXY7qlNSlbEqvwfK5RHVgMgSEGNdXg7WZsIM1WkeFNGbVEgdrOOaO +Ow9z/b7OrUyS6IkdPhc60kP82j8NDck9tiSOihXGfP7YXcHpW3M7RCk4qwt1ZENWYTu hxTCRym6NcVkNXJivCdhJhynngJi2KXIbstnlnVObcln9EJyPRets4Q5Gy68IuDO5zx9 uuZYZgAvHk4s9VAkqxk5zqrnbxmhi0uZOPo4fb6l4DP/vO5LfHgXvKhiyn7BP/fpH1v9 J/xw==
MIME-Version 1.0
Sender z@etiol.net
X-Originating-IP [190.104.26.20]
In-Reply-To <e10b4aba-a725-46c4-aaa9-0035a099a9bf@googlegroups.com>
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 Thu, 18 Oct 2012 04:42:31 -0400
X-Google-Sender-Auth j_qsPS-Z3zq-WLp1vcQbIl-Vak0
Subject Re: python scripts for web
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-Gm-Message-State ALoCoQk80tAyzzBmcmYCbDfIq3Pdc0iQ6jYL0bEecZ7WDWsMMHt0m9chla2n+uMZOjaLIS1CvDtE
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2412.1350549775.27098.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350549775 news.xs4all.nl 6865 [2001:888:2000:d::a6]:45534
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31610

Show key headers only | 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