python-xlib includes an implementation of the xtest extension, which is enabled on most users' X servers, and can be used to send arbitrary keyboard or mouse events.
jeff
pgpo7pqhBafPe.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list