ironpython_console.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:PyMal 作者: cysinfo 项目源码 文件源码
def make_event_from_keydescr(keydescr):
    def input():
        return 1
    input.KeyChar="a"
    input.Key=System.ConsoleKey.A
    input.Modifiers=System.ConsoleModifiers.Shift
    input.next_serial=input
    e=event(input,input)
    del input.next_serial
    keyinfo=make_KeyPress_from_keydescr(keydescr)
    e.keyinfo=keyinfo
    return e
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号