python clear output console code example Example: python clear console import sys, os os.system('cls')