updated:read multiple line output from python