[Tutor] clearscreen command

Chris Keelan rufmetal@rogers.com
Sat, 12 Jan 2002 20:24:22 -0500


On Saturday 12 January 2002 08:00 pm, Frank Holmes wrote:
> does python have the equivalent of a clearscreen command?

In a *nix environment:

import os

os.cmd('clear')

I have no idea how to do this in Windows: maybe os.cmd('cls') ?

- C