Lucas Jones Lucas Jones - 3 months ago 18
Python Question

Change keyboard locks in Python

Is there any way, in Python, to programmatically change the CAPS LOCK/NUM LOCK/SCROLL LOCK states?

This isn't really a joke question - more like a real question for a joke program. I intend to use it for making the lights do funny things...


If you're using windows you can use SendKeys for this I believe.

import SendKeys