how to clear screen in python console code example Example: console clear python import os os.system('clear')