simulating keyboard events

Michael Hudson mwh at python.net
Mon Mar 31 08:21:01 EST 2003


student00 at angelfire.com (student) writes:

> is there an easy way to simulate a keyboard event in python..

I doubt it, but I don't actually know...

> i need to send a 'Delete' key event to a text widget (at the current
> cursor position/selection)

But I do know that this will be *very* platform dependent, so drop us
a clue...

Cheers,
M.

-- 
   This proposal, if accepted, will probably mean a heck of a lot of
   work for somebody.  But since I don't want it accepted, I don't
   care.                                   -- Laura Creighton, PEP 666




More information about the Python-list mailing list