WIN32 : how to list the current processes by their executable na me?

Robin Becker robin at jessikat.demon.co.uk
Tue Jan 18 05:31:12 EST 2000


In article <326536345498D311B3BC00105A39802A07457E at newsintern.dspace.de>, Stefan Migowsky
<smigowsky at dspace.de> writes
>Hi,
>
>see the example given by Mark Hammond in the win32 package
>
>...\Python\win32\scripts\killProcName.py
>
>Stefan
>
...
this fails for me with win95.

PythonWin 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
Portions Copyright 1994-2000 Mark Hammond (MHammond at skippinet.com.au)
>>> import win32api, win32pdhutil, win32con, sys
Traceback (innermost last):
  File "<interactive input>", line 1, in ?
  File "C:\Python\win32\lib\win32pdhutil.py", line 21, in ?
    import win32pdh, string, win32api
ImportError: No module named win32pdh
>>> 
-- 
Robin Becker



More information about the Python-list mailing list