Python - clear screen


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. import os, sys
  2.  
  3. sys.stdout.write(os.popen('clear').read())

Report this snippet


Comments


You need to login to view comments.