Iteration, while loop, and for loop

Ian Kelly ian.g.kelly at gmail.com
Thu Jun 30 09:04:12 EDT 2016


On Wed, Jun 29, 2016 at 5:59 PM, Steven D'Aprano <steve at 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.



More information about the Python-list mailing list