[python-win32] Re: Problem after MS update (scripting

Roger Upole rwupole at msn.com
Thu Jun 15 05:36:51 CEST 2006


Michel Claveau wrote:

> Example of error obtained :
> Attribute Error! '<win32com.gen_py.Microsoft HTML Object Library.DispHTMLSelectElement instance at 0x51317176>' object has no 
> attribute 'inner Html'
>
> Other personns in the same case?

With the same update installed here, I can still access
this attribute for a select box.

Once you've generated the makepy file for the HTML
object library, attributes are case-sensitive.  You'd need
innerHTML.instead.
Also, it appears there's a space in the middle of the
attribute name in the error msg.  Is this a direct
copy/paste ?

        Roger






More information about the Python-win32 mailing list