low level interation python