Python Execute Command And Store Output Tax And Input