import sys, os  os.system('cls') 

Read more of this post