Adjust python settings