Skip to content Skip to sidebar Skip to footer

How To Type @ Using Pyautogui

I am using pyautogui in python 2.7.x and I need to write the character '@'. I've tried everything I know but I got no results. What code line/s should let me write the '@'?

Solution 1:

Maybe you can try use the following code:

import pyautogui
pyautogui.hotkey('shift', '2')

If that does not work, try replacing hotkey with hotkeys

Post a Comment for "How To Type @ Using Pyautogui"