Kinematics learning with python