def get_angle_between_two_points(point1,point2): angle = 360-math.atan2(point2[1]-point1[1],point2[0]-point1[0])*180/math.pi return angle