My school computer has monitor issues (turns off every 2 minutes) and I have to constantly turn it back on. I don't have the software or the privelages to install the software needed to scan for viruses, and there are no more extra computers in class, so I'm forced to use this one. I was wondering if there was a way to turn the monitor off/on with python. I know how to set the switch (use pyHook, check if the 'esc' button is pressed, if it is, turn the monitor on) but I don't really know how to turn the monitor off.
Some sources tell me to look into ctypes and do some c functions and whatnot, while other sources tell me to use python win32 modules, but I really don't knwo where to go after that.
Some sources tell me to look into ctypes and do some c functions and whatnot, while other sources tell me to use python win32 modules, but I really don't knwo where to go after that.
Comment