Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/313.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Python中如何确定系统是否繁忙?_Python_Windows_Pyautogui - Fatal编程技术网

在Python中如何确定系统是否繁忙?

在Python中如何确定系统是否繁忙?,python,windows,pyautogui,Python,Windows,Pyautogui,有没有办法用python知道某个应用程序/系统是否忙,比如鼠标光标显示沙漏图标 我试过截图和检查鼠标,但这是一个愚蠢的想法,检查CPU负载也不是一个一致的方法 我使用的是Windows机器,因为我很确定这将是一个依赖于系统的解决方案

有没有办法用python知道某个应用程序/系统是否忙,比如鼠标光标显示沙漏图标

我试过截图和检查鼠标,但这是一个愚蠢的想法,检查CPU负载也不是一个一致的方法

我使用的是Windows机器,因为我很确定这将是一个依赖于系统的解决方案