<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><div class="gmail_extra"><br><div class="gmail_quote">2016-09-29 8:50 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>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 class=""><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 class="">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 class=""><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 href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/<wbr>codeofconduct/</a><br></blockquote></div><br></div>