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