how to clear screen using python code example Example: clear screen python Import os os.system("clear") # Linux - OSX os.system("cls") # Windows