Detecting keystrokes

I have a very basic question, but I couldn’t find the answer on the web so here goes:
How can I make python detect button presses (both single as simultaniously like CTRL + A) and respond accordingly in the console window (I’m running Windows XP)?

Thanks,

Peter

Doesn’t anyone know?
C’mon, I know you know it :slight_smile:
I have recently found someting on a thing called “curses”.
Can curses help me?