Hotkey in python

Hi,

Does anyone have any idea on how to implement a keyboard hotkey that triggers a command / actions in Python?

If think the .NET API can do it but I’ll like to do it in python.

Regards,