[Tutor] Using the curses module (or a better solution)

Kent Johnson kent37 at tds.net
Tue Oct 7 04:02:55 CEST 2008

On Mon, Oct 6, 2008 at 6:58 PM, Tony Cappellini <cappy2112 at gmail.com> wrote:
> I'm maintaining a framework of tests which are run on a diskless Linux
> client, in character mode (no graphical desktop).
> The tests often print out a lot of info, which scrolls off the screen.
> I'd like to add a 1-2 line no-scroll-area at the top of the screen, so as to
> print a message which indicates the progress of the current test.
> I am thinking about using the Python curses module for this, unless someone
> would suggest an alternative solution,

See the recent discussion of urwid for discussion of a similar problem.

If the tests are based on unittest or assert, you might be interested
in nose; it suppresses output for tests that pass.


More information about the Tutor mailing list