clear console command in python code example Example: console clear python import os os.system('clear')