Hi tutors, I would like to know if there is any "easy" way to handle events (such as mouse movements, keyboard keys pressed, etc) in console based python applications?
More specifically, I am working on a screensaver for terminals ( http://termsaver.info), so I would like to simulate the same behaviour of a standard screensaver for the X windows, by: - running on background - starting some functionality (display a text, etc) if there is no event (mouse or keyboard) for more than N minutes - stopping the above if there is any movement detected Any thoughts on this would be highly appreciated. Thanks! -- *Braga, Bruno* www.brunobraga.net bruno.br...@gmail.com
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor