I want to know how to register the next command for the music player (for changing the music). I tried keypress module for emulating key press but it is not working on python 1.4.2 ...

Another question, how to disable a function when keyboard is locked?

And, last one: how to lock/unlock keyboard?

Thanks, hope many answers.