More python code changes