How to stop timer when external program is closed [Python]

前端 未结 0 1852
时光取名叫无心
时光取名叫无心 2020-12-09 21:22

I am trying to build a Timer which is counting the time how long I used Google Chrome:

import subprocess
import time

start = time.time()
subprocess.Popen([\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题