Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #104279

Re: breaking out of outer loops

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: breaking out of outer loops
Date Tue, 8 Mar 2016 11:08:35 +1100
Lines 17
Message-ID <mailman.8.1457395717.15725.python-list@python.org> (permalink)
References <nbl1md$1lvd$1@gioia.aioe.org> <nbl4qj$i5v$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de IKoQgWQ+uQ587WkISFzP5AtBLr79O7nGm+CHiNyNXQrg==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.034
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'guys.': 0.09; 'python.': 0.11; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:breaking': 0.16; 'wrote:': 0.16; 'nested': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'tried': 0.24; 'header :In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'helpful.': 0.29; "we're": 0.30; 'everyone': 0.31; "can't": 0.32; 'tue,': 0.34; 'received:google.com': 0.35; 'something': 0.35; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'missing': 0.37; 'received:209': 0.38; 'why': 0.39; 'where': 0.40; 'ever': 0.60; 'your': 0.60; 'mar': 0.65; 'offering': 0.66; '11:02': 0.84; 'chrisa': 0.84; 'to:none': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=pXvKCCQRmEOrWM94s7jQBwnb8ns9mrJq/o7gOmfXou0=; b=UtbjW7G6wzOPZ0gHQhu4hq1UC/0eN/o8+cafjzte7QjCGgHtF7USFpmcxAxivYujYI XzbKzLg+zV1vy0B9hUnsWK0jo3oVpQnirJ0wG42UKOUtOB3N+Fmjltw/lddtUdW9HoJO pY2R2ePw6jjEQwB8RfLPQfD71sifilGW3g853R6utmLsLAdmps8J0/MUDYuU9BKryN2N dr8TKCiDNuAwPFLIzHuG4FixFyrWVkTutw4NFiZzcYdapcv6DChOH6KLe5pzW3eBRWJH /NptdIWinqK4fIS5obH3cwQvrjosVPOjcKvjvG5DrgVXKXz9xLyKhii0fqecFC09PekO r7/w==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=pXvKCCQRmEOrWM94s7jQBwnb8ns9mrJq/o7gOmfXou0=; b=H8W7QoR0uWjD9oi+AeINY2osigf6AkmRG3mOZciLIvpjdVSgjGd9q07ISUvirfEB4R YSymLvn8pRHpO8zCLK7ZuHuaZTk9r/Tf51VFVOTsNhu5IpcpDEkn1qhGSQaTTGjDHuZI a7NSJK2EL8m2SnoUdfAiv3JXU+lOveszupTe29Y/Db+aoGddjl9PuWEO/x2CsRUHTJzd +3GFSgDF/MsG0g37xsFHspI0T/T4aWlqITAFmgjqcS1vRMealE1cl8sMUSNVL/SVEdDb tyhM8PkOm05jmMhR4SLp/x96VCP32eJguEuLoACs/HEtr8WE5xb6f1WxGsg8OKXZiQvS Vcxg==
X-Gm-Message-State AD7BkJKMmQAl+DvQGBdS7ds75SeIoBqWhlDfAG+ZQjyTvuON0nI5cLlLgEWSWV5O49PcOvvX4/TpB31zYeXEDA==
X-Received by 10.25.156.196 with SMTP id f187mr8523978lfe.150.1457395715392; Mon, 07 Mar 2016 16:08:35 -0800 (PST)
In-Reply-To <nbl4qj$i5v$1@gioia.aioe.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:104279

Show key headers only | View raw


On Tue, Mar 8, 2016 at 11:02 AM, Fillmore <fillmore_remove@hotmail.com> wrote:
> On 3/7/2016 6:09 PM, Fillmore wrote:
>>
>>
>> I must be missing something simple because I can't find a way to break
>> out of a nested loop in Python.
>
>
> Thanks to everyone who has tried to help so far. I suspect this may be a
> case where I just need to get my head around a new paradigm

Yep, which is why we're offering a variety of new paradigms. Because
it's ever so much easier to get your head around three than one!

We are SO helpful, guys. So helpful. :)

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

breaking out of outer loops Fillmore <fillmore_remove@hotmail.com> - 2016-03-07 18:09 -0500
  Re: breaking out of outer loops Ian Kelly <ian.g.kelly@gmail.com> - 2016-03-07 16:17 -0700
    Re: breaking out of outer loops Fillmore <fillmore_remove@hotmail.com> - 2016-03-07 18:21 -0500
      Re: breaking out of outer loops Chris Kaynor <ckaynor@zindagigames.com> - 2016-03-07 15:42 -0800
      Re: breaking out of outer loops Chris Angelico <rosuav@gmail.com> - 2016-03-08 10:49 +1100
      Re: breaking out of outer loops Terry Reedy <tjreedy@udel.edu> - 2016-03-07 21:54 -0500
  Re: breaking out of outer loops Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-03-07 23:29 +0000
    Re: breaking out of outer loops Fillmore <fillmore_remove@hotmail.com> - 2016-03-07 18:40 -0500
  Re: breaking out of outer loops Chris Angelico <rosuav@gmail.com> - 2016-03-08 10:47 +1100
  Re: breaking out of outer loops Fillmore <fillmore_remove@hotmail.com> - 2016-03-07 19:02 -0500
    Re: breaking out of outer loops Chris Angelico <rosuav@gmail.com> - 2016-03-08 11:08 +1100
      Re: breaking out of outer loops Fillmore <fillmore_remove@hotmail.com> - 2016-03-07 19:13 -0500
        Re: breaking out of outer loops Joel Goldstick <joel.goldstick@gmail.com> - 2016-03-07 19:21 -0500
  Re: breaking out of outer loops Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-03-08 00:36 +0000
  Re: breaking out of outer loops Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-03-08 03:45 +0000

csiph-web