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

2007-07-05 Thread Richard Bell
my Python education yet again. Thanks. Regards, Richard |-Original Message- |From: Mark Hammond [mailto:[EMAIL PROTECTED] |Sent: Thursday, July 05, 2007 6:41 PM |To: 'Richard Bell'; python-win32@python.org |Subject: RE: [python-win32] Strange/impossible Python COM interface

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
produces a zero length string. However print of nodes for other HTML tags such as HTML, BODY, or DIV produces strings that describe the object. Second, when the INPUT node named 'q' is returned as an item in a list (see qNode2) printing the list prints the item. I'm not su

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

2007-07-04 Thread Mark Hammond
> from win32com.client import DispatchBaseClass > > I'm unable to find DispatchBaseClass and so can not chase the > issue further Its in win32com.client.__init__.py > (never mind that I'm a bit over my head in the Win32Com code). > Interestingly, __repr__ is NOT in the GenPY output code, so I > a

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

2007-07-04 Thread Richard Bell
`. Hopefully, Mark will pick up this thread and be able to shed a bit of light. Regards, Richard |-Original Message- |From: [EMAIL PROTECTED] [mailto:python-win32- |[EMAIL PROTECTED] On Behalf Of Richard Bell |Sent: Wednesday, July 04, 2007 12:00 PM |To: 'Emlyn Jones&#

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

2007-07-04 Thread Richard Bell
tem suggestion as that seems more likely to be the essential part of the issue. Thanks again. Richard |-Original Message- |From: [EMAIL PROTECTED] [mailto:python-win32- |[EMAIL PROTECTED] On Behalf Of Emlyn Jones |Sent: Wednesday, July 04, 2007 11:22 AM |To: python-win32@python.org |Su

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

2007-07-04 Thread Emlyn Jones
On 7/4/07, Richard Bell <[EMAIL PROTECTED]> wrote: > > In my continued work on a COM automation interface for IE I've encountered a > strange/impossible Python behavior. Here's what appears to be the offending > code: > > - code - > nodes = self.DomGetNListFilterValue(node, tags, p

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

2007-07-04 Thread Richard Bell
In my continued work on a COM automation interface for IE I've encountered a strange/impossible Python behavior. Here's what appears to be the offending code: - code - nodes = self.DomGetNListFilterValue(node, tags, properties, value, i