资源简介
提醒功能
代码片段和文件信息
import sys
import time
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5 import QtCoreQtGuiQtWidgets
from PyQt5 import *
app=QtWidgets.QApplication(sys.argv)
try:
due = QTime.currentTime()
print(due)
message = “Alert!“
if len(sys.argv) < 2:
print(app)
raise ValueError
hours mins = sys.argv[1].split(“:“)
due = QTime(int(hours) int(mins))
if not due.isValid():
raise Va
评论
共有 条评论