python 自動鎖定屏幕實現並打包成exe 添加到自啓動中

需求: 1.檢測2分鐘沒有移動鼠標,鎖定計算機。 2.檢測45分鐘自動鎖定計算機,提醒用戶休息,久坐有害健康。   import ctypes; import threading; import time; import os; import pyautogui as pag def shotdown():     dll = ctypes.WinDLL('user32.dll');     dl
相關文章
相關標籤/搜索