Okay, so I am writing a media player and I would like to be able to control the entire thing without the use of a GUI. So...are there any libraries or anything that would allow me to collect keystrokes on any OS (not just Windows)?
I don't think there is a lib that can cover all operating systems that use python, because they are all coded differently (I could be wrong, though :p) I know that you can grab key+mouse(and mouse wheel) input (outside of the main window) with pyhook http://sourceforge.net/apps/mediawiki/pyhook/index.php?title=Main_Page It's pretty resourcful; I was able to write a program that controlled itunes outside of the main python program using mouse input that pyhook grabbed
Okay, well after about an hour of finding nothing, I worked out a perfect solution. So, it turns out that there is a part of the xlib that Tech B mentioned named "xbindkeys". After installing it, you can configure hotkeys in your .xbindkeysrc file and have the system run the file of your choice upon pressing a hotkey: this is exactly what I wanted.