I am writing an automation script in Python 2.7 and executing the pretty format command and trying to PIPE it into subprocess so that I can parse the data and directly input