2 Answers
+ 2
you cant, but you can call platform specific code/command/escape sequence using os/subprocess modules
an example:
import platform as p
import os
import time as t
def delayClsCon(sec):
t.sleep(sec)
if p.system() == âWindowsâ:
os.system(âclsâ)
else:
os.system(âclearâ)
+ 1
ty