import time
def sleeptime(hour, min, sec):
return hour * 3600 + min * 60 + sec
second = sleeptime(0, 0, 30)
while 1 == 1:
time.sleep(second)
print('do action')
# 这是隔5秒执行一次
from winotify import Notification
def push(title,msg,app_id,urlurl):
title=title
msg=msg
app_id=app_id
urlurl=urlurl
#r"D:\Python\demo\wechat.png"
toast = Notificati
标签:urlurl,一次,title,Python,app,msg,执行,id From: https://www.cnblogs.com/gnz48/p/17302717.html