python输出接Linux管道符操作时容易出现该报错 解决办法 import signal# Solve the IOError: [Errno 32] Broken pipesignal.signal(signal.SIGPIPE, signal.SIG_DFL)