Clearing a DOS terminal in a script

Stephen_B stephen at theboulets.net
Thu Dec 13 11:48:15 EST 2007


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.

Stephen



More information about the Python-list mailing list