How to Close a program using python? -


is there way python can close windows application? know how start app, need know how close one.

# have used os comands while # program try close firefox window every ten secounds  import os import time  # creating forever loop while 1 :     os.system("taskkill /f /im firefox.exe")     time.sleep(10) 

Comments

Popular posts from this blog

how to build hyperlink for query string in php -

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

queue - mq_receive: message too long -