What is the pythonic way to calculate dot product? August 18, 2023 by Tarik Python 3.5 has an explicit operator @ for the dot product, so you can write a = A @ B instead of a = numpy.dot(A,B)