1、 https://github.com/boppreh/keyboard
keyboard.write(text, delay=0, restore_state_after=True, exact=None)
2、 https://github.com/pywinauto
send_keys文档
pywinauto.keyboard.send_keys( keys,
pause=0.05,
with_spaces=False,
with_tabs=False,
with_newlines=False,
turn_off_numlock=True):
3、https://github.com/NyanKiyoshi/SendKeys
SendKeys("coucou, je support désormais l'unicode :D ♥{ENTER}", pause=.05, with_spaces=True)
4、最简单的C语言例子
没有评论:
发表评论