How to get a window ID in linux using python?

"Martin v. Löwis" martin at
Wed Jun 3 10:58:51 CEST 2009

> In Linux, we can get window info by executing 'xwininfo' and then
> selecting the desired window manually. Can this be done automatically
> in python?

You can run "xwininfo -tree -root", and then parse the output.


More information about the Python-list mailing list