[Tutor] clearscreen command

Chris Keelan rufmetal@rogers.com
Sun, 13 Jan 2002 17:29:15 -0500


On Saturday 12 January 2002 08:24 pm, Chris Keelan wrote:
> 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')

Of course, you know I meant:

os.system('clear')

or 

os.system('cls')

didncha?

- C