[python-win32] win32pdhutil.FindPerformanceAttributesByName() on 64-bit Vista?

2009-10-25 Thread Wayne Koorts
Hi all, I have the following lines as part of a larger app, which form part of a function for terminating processes (as per an example in the pywin32 package dir): import win32pdhutil win32pdhutil.FindPerformanceAttributesByName("System") It seems that on 64-bit systems [1], even with the full P

[python-win32] Calling random Windows function?

2009-10-25 Thread Roger Upole
Aahz wrote: On Fri, Oct 23, 2009, Tim Roberts wrote: Aahz wrote: Perhaps it would be better to think more strategically. I don't actually care about the list of open files. What I care about is a list of files that I want to process and checking whether any of them are open. What would be

Re: [python-win32] Calling random Windows function?

2009-10-25 Thread Aahz
On Sun, Oct 25, 2009, Roger Upole wrote: > Aahz wrote: >> On Fri, Oct 23, 2009, Tim Roberts wrote: >>> Aahz wrote: Perhaps it would be better to think more strategically. I don't actually care about the list of open files. What I care about is a list of files that I wan

Re: [python-win32] how to use win32com with beautifulsoup or lxml?

2009-10-25 Thread Roberto Aguilar
On Oct 24, 2009, at 6:17 PM, elca wrote: hello! thanks for your reply for example i want to extract some text in cnn website. such like 'Sponsored links' 'Money' text in cnn website. follow is sample what i want to make script. i want to add function into my script source which can extract such

Re: [python-win32] how to use win32com with beautifulsoup or lxml?

2009-10-25 Thread elca
Roberto Aguilar wrote: > > On Oct 24, 2009, at 6:17 PM, elca wrote: >> hello! >> thanks for your reply >> for example i want to extract some text in cnn website. >> such like 'Sponsored links' 'Money' text in cnn website. >> follow is sample what i want to make script. >> i want to add function