[Python-ideas] Re: built in to clear terminal

2020-12-20 Thread Christopher Barker
On Sat, Dec 19, 2020 at 8:53 PM Guido van Rossum wrote: > at sounds like a very special status. Why not os.clear()? >> > > I do agree with the motivation for doing this. (I've started doing more > exploratory programming and I've felt this need clearly a few times.) > Frankly, you can't do hardl

[Python-ideas] Re: Typed Python execution mode

2020-12-20 Thread redradist
Yes, it is not bad, it is open-close principle from SOLID for good design system ... You provide template (standard way to do something) for community and if package can work through this interface that is required all goes good ... In such way community would have the standard way to do somethi

[Python-ideas] Re: Typed Python execution mode

2020-12-20 Thread redradist
Good design should follow open-close principle from SOLID ... You provide template (standard way to do something) for community and if package can work through this interface that is required all goes good ... In such way community would have the standard way to do something instead of lots of d

[Python-ideas] Re: built in to clear terminal

2020-12-20 Thread Cameron Simpson
On 20Dec2020 08:51, Christopher Barker wrote: >On Sat, Dec 19, 2020 at 8:53 PM Guido van Rossum wrote: >> at sounds like a very special status. Why not os.clear()? My anger at programmes which gratuitously clear the screen is large. (Years of anger watching IBM-derived PCs boot, particularly,

[Python-ideas] Re: built in to clear terminal

2020-12-20 Thread Christopher Barker
On Sun, Dec 20, 2020 at 1:23 PM Cameron Simpson wrote: > On 20Dec2020 08:51, Christopher Barker wrote: > >On Sat, Dec 19, 2020 at 8:53 PM Guido van Rossum > wrote: > >> at sounds like a very special status. Why not os.clear()? > > My anger at programmes which gratuitously clear the screen is la

[Python-ideas] Re: built in to clear terminal

2020-12-20 Thread Cameron Simpson
On 20Dec2020 15:48, Christopher Barker wrote: >On Sun, Dec 20, 2020 at 1:23 PM Cameron Simpson wrote: >> My anger at programmes which gratuitously clear the screen is large. > >There are a LOT of bad things one can do with Python, I don't think we need >to make something difficult simply because

[Python-ideas] Re: built in to clear terminal

2020-12-20 Thread Felipe Rodrigues
well, my two cents here is that I do clear my screen - a lot. In the same use case as Guido's mentioned - exploratory programming. But when I do it, I do in a manner that was discussed in the original thread - by using CTRL+L, which is of course terminal-specific but clears everything both in Pytho

[Python-ideas] Re: built in to clear terminal

2020-12-20 Thread Eryk Sun
On 12/20/20, Cameron Simpson wrote: > On 20Dec2020 15:48, Christopher Barker wrote: > >>That would be great, though I just looked at the 3.9 docs and saw: >>"The Windows version of Python doesn’t include the curses module." > > Yeah, Windows. A C or ctypes implementation is required in Windows.