Monday, May 12, 2008

How to clear screen in Python 3.0

In Windows XP, the command for clearing the shell screen is "cls". In Python 3.0 we cally it by:

subprocess.call('cls', shell=True)

No comments: