can you convert it to python