On 2010-07-27, John Nagle <na...@animats.com> wrote: > On 7/27/2010 7:44 AM, Bruno Desthuilliers wrote: >> Grant Edwards a écrit : >>> On 2010-07-27, Bruno Desthuilliers >>> <bruno.42.desthuilli...@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.
pdcurses: http://pdcurses.sourceforge.net/ is a cross platform curses implementation that is available for Windows. I wonder how difficult it would be to embed into the Python curses module as a backup for systems where curses is not natively available. This would allow Python to provide cross platform charactor mode manipulation. -- http://mail.python.org/mailman/listinfo/python-list