0
How to erase display text?
Hi, I write some text, for example "Hello world", and I need to erase it. Programming languages: C++ C# Pyton Consoles: Local Windows debugger, Sololearn, Online compilers as ideone, cpp shell, online GDB
2 ответов
0
Here you got examples of how i would do it in python (don't remember how to do it with C# and C++), i hope this to be helpful for you.
PYTHON:
import os
os.system("clear")
OR
import subprocess
subprocess.call("clear")
Those examples clean all window.
if you got other question u got a friend here☺
0
Erase SoloLearn from that list, sololearn doesn't support erasing console text.