Consola Clear Python
import sys, os
os.system('cls')
Weeke
import sys, os
os.system('cls')
import os
os.system('cls' if os.name == 'nt' else 'clear')
print('\033[H\033[J', end='')
import os
os.system('clear')
def clear():
# for windows
if name == 'nt':
_ = system('cls')
# for mac and linux(here, os.name is 'posix')
else:
_ = system('clear')
import os
clear = lambda: os.system('cls')
# Then use clear(), to clear terminal