help needed on loop controls

G

Gaudha

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...
 
D

Diez B. Roggisch

Gaudha said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,294
Messages
2,571,511
Members
48,195
Latest member
Tomjerry

Latest Threads

Top