我使用键盘模块,得到了以下的代码输出结果:
如何从此列表中删除每个“KeyboardEvent”?
[KeyboardEvent(enter up), KeyboardEvent(h down), KeyboardEvent(h up), KeyboardEvent(e down), KeyboardEvent(e up), KeyboardEvent(y down), KeyboardEvent(y up)]
如何从此列表中删除每个“KeyboardEvent”?
list = []
。您是否想要删除特定键盘操作(例如“enter up”)所包含的特定事件? - Ajax1234