output = run( “list-cats”, “—format”, “%(name)s\x1f%(age)s\x1e”, ) records = output.split(“\x1e”) cats = dict( r.split(“\x1f”) for r in records )