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


Groups > comp.lang.python > #31685

Re: python scripts for web

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'received:209.85.223': 0.03; 'startup': 0.05; 'scripts': 0.09; 'terminates': 0.09; 'subject:python': 0.11; 'sits': 0.16; 'wsgi': 0.16; 'zero,': 0.16; 'wrote:': 0.17; 'requests': 0.18; 'script': 0.24; 'header:In- Reply-To:1': 0.25; 'opposed': 0.27; 'message-id:@mail.gmail.com': 0.27; 'cgi': 0.29; 'returned': 0.30; 'gets': 0.32; 'to:addr :python-list': 0.33; 'likely': 0.33; 'received:google.com': 0.34; 'doing': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'really': 0.36; 'but': 0.36; 'october': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'application': 0.40; 'header:Received:5': 0.40; 'enable': 0.60; 'your': 0.60; 'response.': 0.67; 'responses': 0.93
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=TFnyNFY0u1NTVySP4q3hqAaKA9cCrXtKjjkFreLXfr0=; b=iqdFG1rnTYROsrzwif380xbOMngIHHXd01PiDBtuWBAb7wae1LWb+r4+UWvrU98GTR cQBlr8R/6rLt6qg8dAhloUHZWQRjegCy6urBUwLX5wJ2gu4Qf8/LxYetYLWBrijCYpkn VGleNWl/X3slBEdLuBjfKcbIBFb3KZ3EAYxjOqzyaMZOqdgJ5PklUxaEC9qcOcAQqfcv zCHmxqHe0zhpXb2YaXYTFMN5v/Y4Hdbj4N6JHiPamwgWGFjaXaHtLUdffgm3yd9P1mbD Kx2SzNc5KMx5yMSrDJSJQ/Ld2NAcG+ZIqjNM+VkUcIezu5EUMgw4E/kB+DRHrxpU0fqC 2aTQ==
MIME-Version 1.0
Sender z@etiol.net
X-Originating-IP [190.104.24.46]
In-Reply-To <866debf5-4b07-4b93-b785-442b1b14e2e5@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> <mailman.2412.1350549775.27098.python-list@python.org> <809c86c5-26a0-4f4a-bce7-ad8f63efa763@googlegroups.com> <mailman.2419.1350554581.27098.python-list@python.org> <866debf5-4b07-4b93-b785-442b1b14e2e5@googlegroups.com>
From Zero Piraeus <schesis@gmail.com>
Date Thu, 18 Oct 2012 17:09:47 -0400
X-Google-Sender-Auth VrwEVDSxrU81seLgmBP33GkyiR4
Subject Re: python scripts for web
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-Gm-Message-State ALoCoQktlw7glQ4aM9c9QWnGq1KrpRLssgKDxAn1nPZZZ6LTihozvBfEP2svQFXGFu/fHEteCbZ6
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.2475.1350594610.27098.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350594610 news.xs4all.nl 6948 [2001:888:2000:d::a6]:34121
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31685

Show key headers only | View raw


:

On 18 October 2012 12:03,  <chip9munk@gmail.com> wrote:
> yes, but as I have just answered to Zero, is using mod_wsgi a better strategy?

WSGI would enable you to write a persistent application that sits
around waiting for requests and returns responses for them as and
when, as opposed to a simple CGI script that gets started each time a
request comes in, and terminates once it's returned the response.

So it's really about startup time - if your scripts are just doing
something simple and quick, WSGI is likely overkill.

 -[]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