python setting chgs