simplify python settings