thanks Tim,

On 06-08-2010 13:44, Tim Golden wrote:
> On 06/08/2010 12:27, Stef Mientki wrote:
> <snip

> Try psutil (which uses the toolhelp DLL):
>
> http://code.google.com/p/psutil/
>
> <code>
> import psutil
>
> for p in psutil.process_iter ():
>   if p.name == "blah":
>     print p
>     break
> else:
>   print "Not found"
>
> </code>
>
yes that works quit well, just a little bit slower than AutoIt:
AutoIt: 0 .. 15 msec
psutils: 40 ..50 msec

thanks,
Stef Mientki
> TJG
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to