ssh - Clear the putty terminal screen from Python -


this question has answer here:

im calling python script putty terminal on windows , need python script able run "clear" command in terminal clear screen make basic ui. how can this?

answered own question. use code

import subrocess  subprocess.popen("clear") 

Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -