complete brain fart, it doesn't loop

Martin S shieldfire at gmail.com
Sun Jul 27 21:21:39 CEST 2014


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 at gmail.com> wrote:
>On Mon, Jul 28, 2014 at 4:07 AM, Peter Otten <__peter__ at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140727/8d92052b/attachment.html>


More information about the Python-list mailing list