Re: Help With PyParsing of output from win32pdhutil.ShowAllProcesses()

2007-09-12 Thread Paul McGuire
On Sep 11, 1:12 pm, Steve <[EMAIL PROTECTED]> wrote: > Hi All (especially Paul McGuire!) > > Could you lend a hand in the grammar and paring of the output from the > function win32pdhutil.ShowAllProcesses()? > > This is the code that I have so far (it is very clumsy at the > moment) : > > > Many t

Re: Help With PyParsing of output from win32pdhutil.ShowAllProcesses()

2007-09-11 Thread Steve
Hi All, I did a lot of digging into the code in the module, win32pdhutil, and decided to create some custom methods. added to : import win32pdhutil def ShowAllProcessesAsList(): object = find_pdh_counter_localized_name("Process") items, instances = win32pdh.EnumObjectItems(None,None,

Re: Help With PyParsing of output from win32pdhutil.ShowAllProcesses()

2007-09-11 Thread David
On 9/11/07, Steve <[EMAIL PROTECTED]> wrote: > Hi All (especially Paul McGuire!) > > Could you lend a hand in the grammar and paring of the output from the > function win32pdhutil.ShowAllProcesses()? > > This is the code that I have so far (it is very clumsy at the > moment) : Any particular reaso

Help With PyParsing of output from win32pdhutil.ShowAllProcesses()

2007-09-11 Thread Steve
Hi All (especially Paul McGuire!) Could you lend a hand in the grammar and paring of the output from the function win32pdhutil.ShowAllProcesses()? This is the code that I have so far (it is very clumsy at the moment) : import string import win32api import win32pdhutil import re import pyparsing