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


Groups > comp.lang.python > #75288

Re: complete brain fart, it doesn't loop

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <shieldfire@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.063
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'processing.': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; '*any*': 0.16; '>on': 0.16; 'earlier.': 0.16; 'generator.': 0.16; 'preserves': 0.16; 'wrote:': 0.18; "hasn't": 0.19; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'mon,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'suggested': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'chris': 0.29; 'am,': 0.29; "i'm": 0.30; '(which': 0.31; 'framework': 0.33; 'table': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'collecting': 0.36; 'similar': 0.36; 'list.': 0.37; 'message-id:@gmail.com': 0.38; 'server': 0.38; 'list,': 0.38; 'called': 0.40; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'results': 0.69; 'jul': 0.74; '2014,': 0.84; 'otten': 0.84; 'suspicion': 0.84; 'url:apps': 0.91; 'state.': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:from:date:to:cc:message-id; bh=hnaMJD1cuu1we9SChAWtWjLg99EePFZO3Qjw+Ehi24s=; b=XCfRfQwvphxX7Eq+p8KBVk0KIIQz8KDfFwthmj/ASyVGR0xAc+wMOGyN1ZJOrV/yxh n1OG5Sje9WzdV1u7+zeJfFnKdIBC7JGJTaG2xeROWTPcSxxvjdnjEkBoMyI+SWMovKkJ NToi5zFsTSqp6a+2jVLreyiNGTW5VTS5/EP5vMkimxrbT7YjZLnr7ncq/B/oiauiIAtJ 4VX7ripNLI2i/ygKQ+Rm72vBb9sYVnGeEii26OiiORsztpMd6z2tlAsRDu0ek4LIo6Tm YVRxFq4DtXykDH5nxuPoK2hWkZbLm4lmF4OG2NnMAreJHb8hC3451fd/bI3dL0/s8yT0 z/jg==
X-Received by 10.112.198.161 with SMTP id jd1mr27852525lbc.56.1406488905537; Sun, 27 Jul 2014 12:21:45 -0700 (PDT)
User-Agent K-@ Mail for Android
X-Priority 3
In-Reply-To <CAPTjJmqZC7YpaNzNRZrVgguBbpOsYS=arkydG_5n3n8EY_G=3g@mail.gmail.com>
References <CAHXoDSB=W3S4gwc7aJO2AA6gtkz5VGQ5=y7hZ5tLL32AamjmXQ@mail.gmail.com> <CAPTjJmrdqBwuiuJHSAGCjRZoWsQzi_iFVJe=XD3m0nbGa9w_Cg@mail.gmail.com> <lr3f5l$e4h$1@ger.gmane.org> <CAPTjJmqZC7YpaNzNRZrVgguBbpOsYS=arkydG_5n3n8EY_G=3g@mail.gmail.com>
MIME-Version 1.0
Content-Type multipart/alternative; boundary="----MROWK1PJW9CPX99F1L6XGG6U5DONSQ"
Content-Transfer-Encoding 8bit
Subject Re: complete brain fart, it doesn't loop
From Martin S <shieldfire@gmail.com>
Date Sun, 27 Jul 2014 21:21:39 +0200
To Chris Angelico <rosuav@gmail.com>
Cc python-list@python.org
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12370.1406488913.18130.python-list@python.org> (permalink)
Lines 38
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1406488913 news.xs4all.nl 2946 [2001:888:2000:d::a6]:35877
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75288

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

I'm using Bottle as suggested earlier. 
And yes, I'm collecting results from a html table passed to the server for processing. 

/martin 

On 27 Jul 2014, Chris Angelico <rosuav@gmail.com> wrote:
>On Mon, Jul 28, 2014 at 4:07 AM, Peter Otten <__peter__@web.de> wrote:
>> By the way, Python has something similar to a function that
>temporarily
>> interrupts execution but preserves state. It's called generator.
>
>Yeah, but I have a suspicion his web framework (which he hasn't
>identified, but I suspect *any* web framework) won't be looking for a
>generator :) More likely, what he wants is to collect up the return
>values in a list, and then return ''.join() that list.
>
>ChrisA

-- Sent with K-@ Mail - the evolution of emailing.

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


Thread

Re: complete brain fart, it doesn't loop Martin S <shieldfire@gmail.com> - 2014-07-27 21:21 +0200

csiph-web