help needed on loop controls

Diez B. Roggisch deets at nospam.web.de
Sun Mar 29 09:02:52 EDT 2009


Gaudha schrieb:
> Hi Pythons
> 
> I have got some problems with exiting and continuing nested loops.
> Some solving ideas found somewhere like http://offog.org/ideas/python-loop-exit.html.
> I searched in depth of the Official Python Documentation and couldn't
> find any like that. Did that ideas implemented as it is or in some
> better way? If so, please give me information about that. If not,
> please advice me any tricks to make it possible...

Use generators, maybe with a trampoline-approach.

Or check out stackless python.

Diez



More information about the Python-list mailing list