Skip to content

Instantly share code, notes, and snippets.

@mgalgs
Created December 21, 2013 00:20
Show Gist options
  • Save mgalgs/8063680 to your computer and use it in GitHub Desktop.
Save mgalgs/8063680 to your computer and use it in GitHub Desktop.
>>> import dbus
>>> bus = dbus.SessionBus()
>>> obj = bus.get_object("im.pidgin.purple.PurpleService", "/im/pidgin/purple/PurpleObject")
>>> purple = dbus.Interface(obj, "im.pidgin.purple.PurpleInterface")
>>> purple.PurpleSavedstatusGetCurrent()
dbus.Int32(379)
>>> purple.PurpleAccountsGetAllActive()
dbus.Array([dbus.Int32(196)], signature=dbus.Signature('i'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment