📜  python 关闭浏览器 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:28.032000             🧑  作者: Mango

代码示例1
# credit to Stack Overflow user in the source link

import os

os.system("taskkill /im firefox.exe /f")
os.system("taskkill /im chrome.exe /f")