Why is there no platform independent way of clearing a terminal?

John Nagle nagle at animats.com
Tue Jul 27 13:02:47 EDT 2010


On 7/27/2010 7:44 AM, Bruno Desthuilliers wrote:
> Grant Edwards a écrit :
>> On 2010-07-27, Bruno Desthuilliers
>> <bruno.42.desthuilliers at websiteburo.invalid> wrote:
>>> Daniel Fetchinson a ?crit :
> (snip)
>>>> Why was clearing a terminal left out?
>>>>
>>> What you're talking about is a shell, not a terminal (a terminal is a
>>> physical device).
>>
>> No, what he's talking about is clearing a terminal (or a terminal
>> emulator). They both work the same, the only difference is whether
>> the terminal software is running on dedicated hardware or on
>> general-purpose hardware.
>
> (snip)
>
> I stand corrected.

     I immediately thought of using the "curses" module, but that's
UNIX-only, or at least it's not in the ActiveState Python distro.

				John Nagle



More information about the Python-list mailing list