I happen to be making an application that uses CLI.The problem I have is that I want to clean the screen to make it look better, but I don't know how to do it. I tried to use CLS
and import os
it but I get a zero and it doesn't do the job, any idea about how to do this?.
for example:
import os
print ("hello world")
os.system('cls')
output:
hello world
♀Press any key to continue . .
i try:
import os
clear = lambda: os.system('cls')
print ("hello world")
clear()
still gives the same result in visual studio, now, if I try by CLI it works. I really don't understand