Any elegant way of breaking out of the outer for loop than below, I
seem to have come across something, but it escapes me

for i in outerLoop:
   for j in innerLoop:
       if condition:
          break
   else:
       continue
    break

Thanks,
K
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to