pyautogui异常bebug分享:
raise FailSafeException(
pyautogui.FailSafeException: PyAutoGUI fail-safe triggered from mouse moving to a corner of the screen. To disable this fail-safe, set pyautogui.FAILSAFE to False. DISABLING FAIL-SAFE IS NOT RECOMMENDED.
import pyautogui
**pyautogui.FAILSAFE=False**加这行就可以解决
pyautogui.PAUSE=0.5
pyautogui.moveTo(0, 0, duration=0.5)
pyautogui.click(0, 0)