Byte-Array to String

Tim Golden mail at timgolden.me.uk
Thu Apr 19 11:15:19 EDT 2007


Robert Rawlins - Think Blue wrote:

[... snip ...]

> The first method, when I print its results just gives me
> dbus.Array([dbus.UInt32(65547L)], signature=dbus.Signature('u')) the method
> gives me that byte array and the third doesn't appear to work at all :-D
> 
> Unfortunately nowhere seems to document what exactly those arrays contain,
> so I'm trying to crack one open and find out, but as you can see, I'm not
> having much luck. Perhaps this is a DBus thing, they do have a mailing list
> so I'll give them a go in a while.

Have you tried doing the old help (xxx) or dir (xxx) on
the array objects? It might at least point to some kind
of properties or structural methods?

TJG




More information about the Python-list mailing list