I want to know how to clear the console window that works on ALL platforms (Windows, Mac, Every single Linux/Unix distribution) and does not use the os.system()
method or subprocess.Popen()
method (or any other system call method)
Also, please don't make me use something like print("\n" * 2000, end="", flush=True)
or
for integer in range(1, 2001):
print("\n", end="", flush=True)
[Linux/Unix(Debian/Ubuntu), Python 3.8.10]