dg-clt/dg_clt/screen.py

7 lines
105 B
Python

import os
import subprocess
def clear():
subprocess.call('clear' if os.name == 'posix' else 'cls')