TypeError: attribute-less object (assign or del)
Fredrik Lundh
effbot at telia.com
Tue May 16 14:23:12 EDT 2000
Sam Corder <scorder at incigna.com> wrote:
> I'm using the windows script control to allow scripting in a VB project that
> I am working on. My app exposes a website object which users can script
> different things like clicking a link or looking for text (feedback). It
> works fine using VBScript but I want to use a more feature full language
> like Python. The problem is I keep getting a "TypeError: attribute-less
> object (assign or del)" error when trying to assign a value to an input text
> box. Does anybody have any clues?
the error message means that you're trying to assign to (or remove)
an attribute, but the target variable doesn't have any attributes, e.g:
>>> a = None
>>> a.foo = 10
TypeError: attribute-less object (assign or del)
>>> del a.foo
TypeError: attribute-less object (assign or del)
</F>
<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->
More information about the Python-list
mailing list