Since the event being generated is commonly called a "keystroke", and since my dictionary defines the noun "stroke" as being: "the act of striking", a good verb to choose for the action itself would seem to be "strike":
strike('a') -- http://mail.python.org/mailman/listinfo/python-list