Answers for "how to clearn screen for cmd python"

28

clear screen python

Import os
 
os.system("clear") # Linux - OSX
os.system("cls") # Windows
Posted by: Guest on April-05-2020
0

python cls command line

import os

if running_windows == True:
  os.system('CLS')
elif running_linux == True:
  os.system('clear')
Posted by: Guest on November-28-2020

Python Answers by Framework

Browse Popular Code Answers by Language