PyGame is a set of Python modules mainly designed for writing video games using the conventional keyboard or game pad, I have used it in my programs to instead use a Concept2 Indoor Rower as the input enabling a user to row and interact with the game.
PyGame also provides a great platform for my other applications which aren't necessarily games but still need a viewing area and maybe even nice graphics, animation or sound.
Check out the PyGame website here and download the latest version: