pyautogui

pyautogui.typewrite 쓸 때 주의점

falto 2020. 11. 14. 13:55

한글 상태에서 typewrite를 쓰면 저렇게 asdf가 아니라 ㅁㄴㅇㄹ가 써진다.

pyautogui.press('hangul')

위 코드는 한영키를 누르는 코드이다. 알아서 잘 써먹자.