Python - clear screen


/ Published in: Python



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

RSS Icon Subscribe to comments

You need to login to post a comment.