[python-win32] How to get active process list ?

Stef Mientki stef.mientki at gmail.com
Fri Feb 15 19:11:58 CET 2008


hello,

How do I get the list of active processes ?

I tried this call, but ...
    items, instances = win32pdh.EnumObjectItems(None,None,object, 
win32pdh.PERF_DETAIL_WIZARD)
    return instances

... it doesn't reflect dynamic changes,
just the status quo at the start of my program  :-(

thanks,
Stef Mientki


More information about the python-win32 mailing list