Doing a ps in windows.. (Is application XYZZY running?)

Chris Liechti cliechti at gmx.net
Mon Mar 25 16:48:01 EST 2002


Andrew Markebo <flognat at flognat.myip.org> wrote in 
news:m38z8g74hw.fsf at localhost.localdomain:
> *blush* yeah I know.. not really.. here, only almost :-)
> 
> I have the windows-compiled python 2.2, and I would like to see if
> Opera or Netscape is running on my computer (poor sod, running 
Win2k,
> XP or 98).. How do I do this, I suppose I could use something in 
the
> win32api, but what is something.. :-) ??

there is an example on EnumWindows in the win32all package. it gives 
you integer window handles which you can then use to retreive the 
GetWindowText.

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list