def directionsResult(self, response, status):
        print "directionsResult:"

        if status == DirectionsStatus.OK:

            Hf = response.Hf
            print Hf.origin, Hf.destination, Hf.travelMode

            for route in response.routes:
                attrs = dir(route)
                attrs.sort()
                for attr in attrs:
                    print '%s: %r' % (attr, getattr(route, attr))
            print "\n"

            self.directionsDisplay.setDirections(response)
dataset/ETHPy150Open anandology/pyjamas/examples/gmaps/DirectionsSimple.py/DirectionsSimple.directionsResult/original