could you translate it to python