[Tutor] slearing the screen

Jesse Goerz jgoerz@cfl.rr.com
21 Apr 2002 20:59:20 -0400


On Sun, 2002-04-21 at 19:10, Cameron Stoner wrote:
> Hi all,
> 
> How do you clear the screen?  Is there a command like in C++ to clear the screen in Python?  Also is there a function for turning numbers and letters into ASCII?  I have been going through the modules without much luck.
> 
> Thanks for any help,
> Cameron Stoner

I'm pretty sure you can do it like this:

import os

os.system('clear')