首页 > 应用开发 > Python > 复工没效率?用Python做个番茄工作时钟吧!





好了,事不宜迟,赶快上手试试吧~
$ ./tomato.py # start a 25 minutes tomato clock + 5 minutes break$ ./tomato.py -t # start a 25 minutes tomato clock$ ./tomato.py -t <n> # start a <n> minutes tomato clock$ ./tomato.py -b # take a 5 minutes break$ ./tomato.py -b <n> # take a <n> minutes break$ ./tomato.py -h # help

🍅 tomato 25 minutes. Ctrl+C to exit 🍅🍅---------------------------------------------- [8%] 23:4 ⏰
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31562039/viewspace-2681618/ ,如需转载,请注明出处,否则将追究法律责任。