Parse String Into Array Python Definition