all python assignment in one place

ready for type conversions to go in