Adjust screen brightness/contrast in Python? [closed]
I need to adjust screen brightness/contrast by using Python. It will be a function in my code and it will be run when user presses a key, else script won't change the brigness/contrast. How can i make it in Python? Thank you very much I found what looks like a Linux-specific recipe here . For windows I think you need to find out what function you need to call in which dll (probably driver-specific) and use ctypes to make the required call. This is something that is OS-specific and probably not doable without system-specific bindings. dridk I m using the equation define here . So, to adjust