displaying windows processes

Gerhard Häring gerhard.haering at gmx.de
Fri Nov 15 04:12:15 EST 2002


asdfasd asdfasdf wrote:
> hi

Hi asdfasd asdfasdf,

> how do i display a list of windows 2000 running processes??
> something like the ps in unix?

You'll need the win32 extensions for this. How to get the process list
is documented here:

http://aspn.activestate.com//ASPN/Python/Reference/Products/ActivePython/PythonWin32Extensions/win32/process_info.html#PdhEnumObjectItems

short version of the URL: http://tinyurl.com/2pxu

Btw. I knew it was possible, but still was using a search engine to
quickly find the link. The http://google.com keywords I used were
"python windows process list".

-- Gerhard



More information about the Python-list mailing list