Answers for "clearing a python screen"

28

clear screen python

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

python cls statement using os module

import os
os.system('cls')  # on windows
Posted by: Guest on November-09-2020

Python Answers by Framework

Browse Popular Code Answers by Language