|      1meloncrashed      2015-11-17 14:36:13 +08:00 回答 1: 你的 目标时间 与 当前时间 都转换 unix time ,使用 time module,  作差就好了。 回答 2: 你必须 监控时间 比如每半小时比较当前时间与目标时间, 当当前时间与目标时间接近到一定程度时 运行脚本 回答 3 : 控制台等待字符输入, 通过判断输入数据 决定是否中断自己 | 
|  |      2matthewgao      2015-11-17 17:07:06 +08:00 t= time.strptime("17:00", "%H:%M") if time.localtime() > t : # do some magic | 
|  |      3matthewgao      2015-11-17 17:27:27 +08:00 问题 3 ,你可以弹窗,这个很容易 | 
|      4mengzhuo      2015-11-18 09:02:46 +08:00 啥操作系统都不说,怎么破? unix 系的这些都好办 2. crontab 3. 各种 notify 满足要求 |