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


Groups > comp.lang.python > #110842

Re: Iteration, while loop, and for loop

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ian Kelly <ian.g.kelly@gmail.com>
Newsgroups comp.lang.python
Subject Re: Iteration, while loop, and for loop
Date Thu, 30 Jun 2016 07:04:12 -0600
Lines 12
Message-ID <mailman.138.1467291900.2358.python-list@python.org> (permalink)
References <079ff112-8f18-4a27-938f-12e4e55a4a5b@googlegroups.com> <577295b3$0$1598$c3e8da3$5496439d@news.astraweb.com> <20160628122308.4578d876@bigbox.christie.dr> <nkudsr$335$1@ger.gmane.org> <CALwzidkBztoyJY=VQu=BuFqVTU3XM0pXa_A+evYOeqGv-6jhbg@mail.gmail.com> <mailman.114.1467214578.2358.python-list@python.org> <577460e2$0$1591$c3e8da3$5496439d@news.astraweb.com> <CALwzidk-i+qGupcQB3C2g+HU4Wo77vwr5BNNM3HMb4RWUdWmtQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de xF2A42jNJCuTTehf8E6qLQU1OEB+HrRc6ck8murX9yIA==
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.019
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'cpython': 0.05; 'interpreter,': 0.09; 'repl': 0.09; 'subject:while': 0.09; 'python': 0.10; 'output': 0.13; 'wed,': 0.15; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'using,': 0.16; 'wrote:': 0.16; 'example.': 0.18; 'prevent': 0.20; 'header:In- Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'omitted': 0.29; "i'm": 0.30; 'that.': 0.30; 'curious': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'received:google.com': 0.35; "wasn't": 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'rather': 0.39; 'to:addr:python.org': 0.40; 'default': 0.61; 'below.': 0.66; 'prompt': 0.79; '3.4': 0.84; '3.6': 0.84; 'to:name:python': 0.84; 'nas': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jIO0a7xFGFyKdcTOLgYwgq8dbr3D0SlnyqpEdGZtzAQ=; b=LZfNuIAGFgq/xzJXWBO05/zTFdXSGl7Cj5cAtmEQtursez7X5AXPeWVmB935vUiDdp VJZZQQI1LzfyGFEg8SwdcJUY2CHC6QMW+dZJrATtyBSOj26n1154j7BC0jrgHj3f+1dY BVkJXmpG0dG244zGQMURLD05k2rtvS4Zs7qelgPR+7Pl6siqJdMiZkoz5bYzBq/2/PVP IaINbuhK8oVhUeWPXwtiH/l9+3OBMMaGO8BiNvqCTYWeGDSI5d8yCtMn1PC/VFugsasY Rkvwnd29eZo+uk9kQDYB3Mdp2xvOOlNF8e0RWc8CvFzN4wsouB9H51rSTS6+5KKUQWX5 06gg==
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:from:date :message-id:subject:to; bh=jIO0a7xFGFyKdcTOLgYwgq8dbr3D0SlnyqpEdGZtzAQ=; b=A5NoVQlEKkjN9BST2jksY3CZ8JTT4O748iVBUsBtmje1r9jHCLQ5OrwdskIH8H1xiv sW+SGUcMwjBYxkuKulG3gsMy1Wwm8DjJV+Svlqn1rMRF0Q5Anyaugi/me8GKQrMcc6eo icOcw/lYjb0sRB4WGYi20gbJJLx5jJqMbuVaWmpHf99/cEEhs7EkVytaW45pKlqQ9Vq/ X5JToE5yITUQPIJmzYSZtKzBtJT0Gv844nfpiWv+tdazpnOf1xHhPcTMoGustKVrYiVV zvBGf1As76TLnLZFBuoNKXicj1LQMxRGBsLJ/H1fX98QWf90ri5bB9XA9Vz9Xlal4tIt EXVg==
X-Gm-Message-State ALyK8tLKliHieFCH3n22XjtSxH/4pUp1DcMsNQdyykeY5aLy7CYuRZfLGubtU2BoQqb977TxzKHu9ftDBdqlJw==
X-Received by 10.157.48.36 with SMTP id d33mr9972683otc.30.1467291891943; Thu, 30 Jun 2016 06:04:51 -0700 (PDT)
In-Reply-To <577460e2$0$1591$c3e8da3$5496439d@news.astraweb.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <CALwzidk-i+qGupcQB3C2g+HU4Wo77vwr5BNNM3HMb4RWUdWmtQ@mail.gmail.com>
X-Mailman-Original-References <079ff112-8f18-4a27-938f-12e4e55a4a5b@googlegroups.com> <577295b3$0$1598$c3e8da3$5496439d@news.astraweb.com> <20160628122308.4578d876@bigbox.christie.dr> <nkudsr$335$1@ger.gmane.org> <CALwzidkBztoyJY=VQu=BuFqVTU3XM0pXa_A+evYOeqGv-6jhbg@mail.gmail.com> <mailman.114.1467214578.2358.python-list@python.org> <577460e2$0$1591$c3e8da3$5496439d@news.astraweb.com>
Xref csiph.com comp.lang.python:110842

Show key headers only | View raw


On Wed, Jun 29, 2016 at 5:59 PM, Steven D'Aprano <steve@pearwood.info> wrote:
> I'm curious what REPL you are using, because in the vanilla Python
> interactive interpreter, the output if over-written by the prompt. That is,
> what I see in Python 3.6 is:
>
> py> nas yum yum yumpy>
>
> unless I take steps to prevent that. See below.

I was just using the CPython 3.4 REPL with the default prompt. It
appended the prompt rather than overwriting, and I simply omitted it
in my message since it wasn't relevant to the example.

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


Thread

Iteration, while loop, and for loop Elizabeth Weiss <cake240@gmail.com> - 2016-06-28 05:36 -0700
  Re: Iteration, while loop, and for loop Michael Selik <michael.selik@gmail.com> - 2016-06-28 13:15 +0000
    Re: Iteration, while loop, and for loop BartC <bc@freeuk.com> - 2016-06-28 14:29 +0100
      Re: Iteration, while loop, and for loop Michael Selik <michael.selik@gmail.com> - 2016-06-28 13:58 +0000
      Re: Iteration, while loop, and for loop Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-06-28 22:58 -0700
  Re: Iteration, while loop, and for loop BartC <bc@freeuk.com> - 2016-06-28 14:24 +0100
  RE: Iteration, while loop, and for loop "Joseph Lee" <joseph.lee22590@gmail.com> - 2016-06-28 06:26 -0700
  Re: Iteration, while loop, and for loop Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-06-28 16:42 +0300
  Re: Iteration, while loop, and for loop Michael Selik <michael.selik@gmail.com> - 2016-06-28 13:51 +0000
  Re: Iteration, while loop, and for loop Steven D'Aprano <steve@pearwood.info> - 2016-06-29 01:20 +1000
    Re: Iteration, while loop, and for loop Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-06-28 18:28 +0300
    Re: Iteration, while loop, and for loop Tim Chase <python.list@tim.thechases.com> - 2016-06-28 12:23 -0500
    Re: Iteration, while loop, and for loop Grant Edwards <grant.b.edwards@gmail.com> - 2016-06-28 17:58 +0000
    Re: Iteration, while loop, and for loop Ian Kelly <ian.g.kelly@gmail.com> - 2016-06-29 09:29 -0600
      Re: Iteration, while loop, and for loop Steven D'Aprano <steve@pearwood.info> - 2016-06-30 09:59 +1000
        Re: Iteration, while loop, and for loop Tim Chase <python.list@tim.thechases.com> - 2016-06-30 05:44 -0500
        Re: Iteration, while loop, and for loop Ian Kelly <ian.g.kelly@gmail.com> - 2016-06-30 07:04 -0600
        Re: Iteration, while loop, and for loop Ian Kelly <ian.g.kelly@gmail.com> - 2016-06-30 07:10 -0600
        Re: Iteration, while loop, and for loop jfong@ms4.hinet.net - 2016-06-30 19:12 -0700
  Re: Iteration, while loop, and for loop Veek M <vek.m1234@gmail.com> - 2016-10-27 14:35 +0530

csiph-web