pipe output from shell command to a python script,print(sys.stdin.read())