[问题] pynput trigger enter 方法

楼主: kiey (炼)   2019-10-21 12:39:06
目前
from pynput.keyboard import Key, Controller
import time
time.sleep(1)
keyboard = Controller()
password = 'abcd123'
keyboard.type(password)
time.sleep(1)
keyboard.press(Key.space)
是没有问题的
但是想把 space 改成 enter 却怎么改都不行
想请问各位大大是否知道问题在哪呢??
作者: Raymond0710 (雷门)   2019-10-21 13:08:00
"<value>D:\\bbb\\</value>"
作者: penut85420 (PenutGGorz)   2019-10-21 15:18:00
会不会是 return?
作者: outshaker (out)   2019-10-26 04:08:00
改成 tab enter 试试看

Links booklink

Contact Us: admin [ a t ] ucptt.com