Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to clear the screen of the terminal using python os

import os

print("Random text")

os.system("cls")

print("Screen cleared")
 
PREVIOUS NEXT
Tagged: #clear #screen #terminal #python #os
ADD COMMENT
Topic
Name
5+5 =