Convert somethings to python