Showing posts with label subprocess. Show all posts
Showing posts with label subprocess. Show all posts

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)