Python Create Array From String