"bruce" <[EMAIL PROTECTED]> wrote:
> also, how can i determine what methods are available for a libxml2dom
> object?
Have you tried dir(object)? It works great on the command-line
reply-eval-print loop.
-- Barry
--
http://barrkel.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python
"bruce" <[EMAIL PROTECTED]> wrote:
> from the "for label in d.xpath", i assume that "d.xpath" is returning
> multiple strings/objects/etc... and that label is assigned to the next
> "element during the loop.
>
> is there a way to determine the number of elements in "l", or the number of
> iterati
Barry Kelly <[EMAIL PROTECTED]> wrote:
> From "pydoc __getattribute__":
>
> ---8<---
> Help on method-wrapper object:
>
> __getattribute__ = class method-wrapper(object)
> | Methods defined here:
> |
> | __call__(...)
> | x.__call
I'm running this version of Python:
Python 2.4.3 (#1, May 18 2006, 07:40:45)
[GCC 3.3.3 (cygwin special)] on cygwin
I read in the documentation that these two expressions are
interchangeable:
x.__getattribute__('name') <==> x.name
>From "pydoc __getattribute__":
---8<---
Help on method-