PY: updated python settings