import win32api #winapi库 import win32con #windows常数定义 win32api.MessageBox(win32con.NULL, "在过去的1分钟内,CPU连续五次超过4%", "cpu提示")