#!/usr/bin/python import dbus, flimflam flim = flimflam.FlimFlam(dbus.SystemBus()) print "Portal URL is %s" % flim.GetPortalURL()