How to turn of the monitor by python?
Leo Kislov
Leo.Kislov at gmail.com
Tue Dec 12 21:40:17 EST 2006
could.net at gmail.com wrote:
> I want to turn off my monitor from within python, How to do it?
> Thanks!
Do you realize that hardware management and control is OS dependant?
When asking such questions always specify OS.
Assuming you are interested in Windows, then you just need to translate
this <http://www.codeproject.com/system/display_states.asp> C API calls
into python. You can use ctypes (included in Python 2.5) or python
win32 extensions.
-- Leo
More information about the Python-list
mailing list