学习python,定时通知
2022-08-19 本文已影响0人
小明的数据分析笔记本
import time
from plyer import notification
if __name__ == '__main__':
while True:
notification.notify(
title = "You are so good!",
message = "Take a break! It has been one minute!",
timeout = 10
)
time.sleep(60)