Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python clear screen windows and linux

os.system('cls' if os.name in ('nt', 'dos') else 'clear') #Works for both windows and linux
 
PREVIOUS NEXT
Tagged: #python #clear #screen #windows #linux
ADD COMMENT
Topic
Name
4+4 =