def move(self, x, y, smooth=True):
        MacUtils.verify_xy_coordinates(x, y)

        old_x, old_y = self.get_position()

        for i in xrange(100):
            intermediate_x = old_x + (x - old_x) * (i + 1) / 100.0
            intermediate_y = old_y + (y - old_y) * (i + 1) / 100.0
            smooth and sleep(.01)

            self._do_event(CG.kCGEventMouseMoved, int(intermediate_x),
                           int(intermediate_y))
dataset/ETHPy150Open F1ashhimself/UISoup/uisoup/mac_soup/mouse.py/MacMouse.move/original