[python-win32] Loading performance counter problem

2007-07-05 Thread Chatchai Neanudorn
Hi all, I 'm trying to load my application perfmance counter into window perfmon. I use example found in Python Programming on Win32 book. I can install service sucessfully. I can see my service in services list. My broblem is, I got error below --- Command --- C:\PyPerf>python Pipe

Re: [python-win32] Strange/impossible Python COM interface behavior

2007-07-05 Thread Richard Bell
Mark, During development of the IE automation class I've frequently gotten a DOM node by using one of the IE COM interfaces such as nodeList = ie.getElementsByTagName or one of the interfaces available via a DOM node such as nodeList = node.getElementsByTagName. To facilitate python treatment of

Re: [python-win32] Strange/impossible Python COM interface behavior

2007-07-05 Thread Mark Hammond
> Several things caught my attention about this. > > First, the attempt to print qNode (an object of class > win32com.gen_py.3050F1C5-98B5-11CF-BB82-00AA00BDCE0Bx0x4x0.Dis > pHTMLInputElem > ent) produces a zero length string. However print of nodes > for other HTML > tags such as HTML, BODY, or D

Re: [python-win32] Strange/impossible Python COM interface behavior

2007-07-05 Thread Richard Bell
Thanks Mark, that clears up the behavior. I'd been suspicious that it was an underlying COM method but couldn't really tell from my limited understanding of Win32Com. I'd not understood the differences in printing an object and printing a list of objects, so you've improved my Python education ye