On Dec 13, 2007 10:48 AM, Stephen_B <[EMAIL PROTECTED]> wrote:
> This doesn't seem to work in a dos terminal at the start of a script:
>
> from os import popen
> print popen('clear').read()
>
> Any idea why not? Thanks.


It opens "clear" with it's own virtual terminal and clears that
instead. There's an ANSI control code you can use to reset the screen,
try printing that.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to