python-xlib may not see any development, but I used it recently with python 2.2 or 2.3, and don't remember any particular problems doing so.
you may want to give it a try, instead of dismissing it out of hand. Jeff
pgpEbkioBp45P.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list