<div dir="ltr">Hi JM,<div><br></div><div>Yes indeed, I have that installed.</div><div>I was unaware it activates itself in the normal interpreter.</div><div>(I have it installed because IPython asks for it).</div><div><br></div><div>Stephan</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-29 9:59 GMT+02:00 João Matos <span dir="ltr"><<a href="mailto:jcrmatos@gmail.com" target="_blank">jcrmatos@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    You must have pyreadline installed (it isn't installed in the
    default CPython distribution).<br>
    <br>
    <br>
    Best regards,<br>
    <br>
    JM<div><div class="h5"><br>
    <br>
    <br>
    <div>On 29-09-2016 08:56, Stephan Houben
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>Hi JM,<br>
        </div>
        <div><br>
        </div>
        <div>Windows 7 Enterprise</div>
        <div>"Microsoft Windows [Version 6.1.7601]"<br>
        </div>
        <div><br>
        </div>
        <div>I am running Python directly from the shortcut created on
          installation.</div>
        <div>But starting it from cmd.exe has the same effect.</div>
        <div><br>
        </div>
        <div>Codepage is 437 , this may be relevant?</div>
        <div><br>
        </div>
        <div>I just tried it on a Windows 10 PC, there it has the same
          effect.</div>
        <div><br>
        </div>
        <div>Stephan</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-09-29 9:12 GMT+02:00 João Matos <span dir="ltr"><<a href="mailto:jcrmatos@gmail.com" target="_blank">jcrmatos@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>Hello,</div>
              <div><br>
              </div>
              <div>I tried on Python 2.7.10 and Python 3.5.2 and Ctrl-L
                doesn't work on both.</div>
              <div>I tried on 2 PCs with Windows 7 and none of them
                worked.</div>
              <div><br>
              </div>
              <div>What is your Windows version? Are you trying on the
                cmd.exe console or PS?</div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>Best regards,</div>
              <div><br>
              </div>
              <div>JM<span><br>
                  <br>
                  quinta-feira, 29 de Setembro de 2016 às 08:09:13
                  UTC+1, Stephan Houben escreveu:</span></div>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><span>
                  <div dir="ltr">Hi all,
                    <div><br>
                    </div>
                    <div>I just tried with this official Python binary:</div>
                    <div>Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016,
                      22:01:18) [MSC v.1900 32 bit (Intel)] on win32<br>
                    </div>
                    <div><br>
                    </div>
                    <div>and CTRL-L for sure does clear the window. It
                      just doesn't then move the prompt to the top, so
                      you end up with a bunch of empty lines, followed
                      by the prompt.</div>
                    <div><br>
                    </div>
                    <div>Stephan</div>
                  </div>
                </span>
                <div>
                  <div>
                    <div><br>
                      <div class="gmail_quote">2016-09-29 8:50 GMT+02:00
                        João Matos <span dir="ltr"><<a rel="nofollow">jcrm...@gmail.com</a>></span>:<br>
                        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
                          <div dir="ltr">
                            <div>Hello,</div>
                            <div><br>
                            </div>
                            <div>Yes, Ctrl-L doesn't clear the screen on
                              Windows.</div>
                            <div>Making Ctrl-L clear the screen would be
                              a good solution (no need for a clear
                              screen command).</div>
                            <div><br>
                            </div>
                            <div><br>
                            </div>
                            <div>Best regards,</div>
                            <div><br>
                            </div>
                            <div>JM<span><br>
                                <br>
                                quinta-feira, 29 de Setembro de 2016 às
                                03:06:26 UTC+1, Steven D'Aprano
                                escreveu:</span></div>
                            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><span>On
                                Tue, Sep 27, 2016 at 10:05:16AM -0700,
                                João Matos wrote:
                                <br>
                                > Hello,
                                <br>
                                > <br>
                                > <br>
                                > It doesn't work in Windows.
                                <br>
                                <br>
                                What is "it"? Are you talking about
                                Ctrl-L to clear the screen?
                                <br>
                                <br>
                                <br>
                                Perhaps we should start by adding Ctrl-L
                                as a standard way to clear the <br>
                                Python REPL, in the same way that Ctrl-C
                                is the standard way to <br>
                                interrupt the interpreter regardless of
                                whether you are using Linux, Mac <br>
                                or Windows.
                                <br>
                                <br>
                                (Also, it seems a shame that Ctrl-D is
                                EOF in Linux and Mac, but Windows <br>
                                is Ctrl-Z + Return. Can that be
                                standardized to Ctrl-D everywhere?)
                                <br>
                                <br>
                                <br>
                                -- <br>
                                Steve
                                <br>
                                ______________________________<wbr>_________________
                                <br>
                                Python-ideas mailing list
                                <br>
                              </span><a rel="nofollow">Python...@python.org</a>
                              <br>
                              <span><a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="nofollow" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-ideas</a>
                                <br>
                                Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="nofollow" target="_blank">http://python.org/psf/codeofco<wbr>nduct/</a>
                                <br>
                              </span></blockquote>
                          </div>
                          <br>
                          ______________________________<wbr>_________________<br>
                          Python-ideas mailing list<br>
                          <a rel="nofollow">Python...@python.org</a><br>
                          <a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="nofollow" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-ideas</a><br>
                          Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="nofollow" target="_blank">http://python.org/psf/codeofco<wbr>nduct/</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>