Tuesday, February 23, 2010

clear Python IDLE

import os
os.system('clear') #for Mac or Linux
os.system('cls') #for Windows

Taken from:

No comments:

Post a Comment