- 起因:找遍了应用商店,也没发现一个真正的计时器,除了苹果自带的计时器,好像都没有计次之后显示分段时间的软件,都是只显示总时间,想要知道上一个分段化了多少时间就很不方便,于是就有了这个东西。
- 应用场景:最好用的就是做题或者补作业的时候用了,该计时器可以准确记录每一题/每一页所花的时间,还能推算出以当前速度还有多少时间完成作业。
- 介绍:
- 运行程序,不需要任何第三方库,装了python就能运行。
- 创建一个文件名,开始计时后,根目录下会生成一个txt文件,作为日志,记录窗口输出的内容。
- 指定一个分段按键,通常为space,如果怕误触,可以换成f12之类。按下这个键,就会“计次”一次。
- 制定当前题号和总数:当前做到了第几题/第几页,总共有几题/几页
- 输出内容:包括当前时间、总时间、分段时间、预估剩余时间等内容
写题目的时候就可以写完一题,拍一下空格键,就会记录下每一题所用的时间,做题的时候也能推算出做完全部题目需要多长时间,结束后,可以通过日志文件查看哪一题用的时间比较长。实测可以提升一点紧迫感,加快一些效率。 PS:其中有添加音效的代码,可以看根据需要去掉注释,添加自己的音效。还有超时提醒功能,超过一段时间没有按下分段按钮就会发声音提醒。