Python settings