Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75288
| 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> |
|---|---|
| Subject | Re: complete brain fart, it doesn't loop |
| From | Martin S <shieldfire@gmail.com> |
| Date | 2014-07-27 21:21 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12370.1406488913.18130.python-list@python.org> (permalink) |
[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
Re: complete brain fart, it doesn't loop Martin S <shieldfire@gmail.com> - 2014-07-27 21:21 +0200
csiph-web