I\'m using Python+Numpy (can maybe also use Scipy) and have three 2D points
(P1, P2, P3);
I am trying to get the distance from P3 perpend
Try using the norm function from numpy.linalg
numpy.linalg
d = norm(np.cross(p2-p1, p1-p3))/norm(p2-p1)