Python is often used as a glueing layer that relies on compiled optimised packages that it strings together to perform the target computations.