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: 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: References: <98b7e362-14fd-4721-84c8-ae1bc11febac@googlegroups.com> From: Zero Piraeus 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 : On 18 October 2012 04:10, 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.