def getDifferentPoint(self, points1, points2):
        """ Return a random point in points1 which is not
        in points2 """

        l = [pt for pt in points1 if pt not in points2]
        if l:
            return random.choice(l)

        return None
 Return a random point in points1 which is not
        in points2 
recipes/Python/496884_Amaze__objectoriented_maze_generatorsolver/recipe-496884.py