Two circles are externally tangent at $T.$ The line $AB$ is a common external tangent to the two circles, and $P$ is the foot of the altitude from $P$ to line $AB.$ Find the length $TP.$