detection of unplugged cable

Diez B. Roggisch deets at nospam.web.de
Wed Jul 2 16:04:00 EDT 2008


Oguz Yarimtepe schrieb:
> Hi,
> 
> I am tring to develeop a gui with pyqt. I need to detect whether the
> the cable to vga, dmi or s-video outputs are plugged or unplugged.
> After detection i need to run a process. How can i do this?


Not with python as is. This is OS-specific, and you should see what your 
OS supports regarding DDC support & how much of that is exposed to the user.

And it might not be to reliable. You are not *forced* to use a DDC monitor.

Diez



More information about the Python-list mailing list