clear screen cross platform ptyhon code example
Example 1: console clear python
import os
os.system('clear')
Example 2: python cls statement using os module
import os
os.system('cls') # on windows
import os
os.system('clear')
import os
os.system('cls') # on windows