os cls python code example Example: python cls statement using os module import os os.system('cls') # on windows