
This module lets you access multimedia keys found on most new keyboards from Python; most important it grabs all input events so your program doesn't need to be in focus when the key is pressed (which is the usual behavior of the keys). You still need something like Acme or xmodmap to map the keys before using them.