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

Neil Cerutti neilc at norwich.edu
Wed Jul 28 12:06:06 EDT 2010


On 2010-07-28, Jonathan Hartley <tartley at tartley.com> wrote:
> I want to write a quick script which, notices whenever I save
> my source code, and re-runs the unit tests, displaying the
> output. I think I'd like it to clear the terminal before each
> re-run of the tests, so that it's immediately obvious what is
> output from the current run, as opposed to previous runs. Then
> I can keep my editor focussed, but leave that running in a
> terminal and trust it to simply display the current output from
> my tests.

Perhaps emailing the tests to yourself would be a good solution.
Every tme the tests ran, you'd get a new email containing the
results.

-- 
Neil Cerutti



More information about the Python-list mailing list