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 "@
"?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答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