Getting Process Name on Win32

Tim Golden tim.golden at viacom-outdoor.co.uk
Wed Sep 6 07:02:18 EDT 2006


[Rama]

|      I want to list the names of all the processes running on 
| my machine. I am stuck at this point and do not know how to 
| extract the name of a process.

WMI is good for this kind of thing:

http://tgolden.sc.sabren.com/python/wmi_cookbook.html#running_processes

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list