Get object list in python

Jesse Weinstein jessw at netwood.net
Thu Sep 17 15:06:15 PDT 2009


On Thu, 2009-09-17 at 14:44 -0700, Andy Barry wrote:
> print dbus._expat_introspect_parser.process_introspection_data(iface.Introspect())
The problem is that you processed the results of the call with 
_expat_introspect_parser, which throws away the <node> elements 
('cause dbus-python doesn't use them).  I find using the python standard
library ElementTree package works well for pulling out the needed bits.

Jesse



More information about the dbus mailing list