Python Write Array Of Objects Example