thanks Tim, that works. cheeers, Stef Tim Johnson wrote: > Have you tried using WMI? http://timgolden.me.uk/python/wmi.html > > import wmi > w = wmi.WMI() > processes = w.instances('Win32_Process') > for process in processes: > print process.name <http://process.name> > > On Fri, Feb 15, 2008 at 10:11 AM, Stef Mientki <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > 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 > _______________________________________________ > python-win32 mailing list > python-win32@python.org <mailto:python-win32@python.org> > http://mail.python.org/mailman/listinfo/python-win32 > > > > > -- > _____________________ > Ceci n'est pas un email.
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32