shell 获得调用的python脚本的print值和错误log 1. shell 获得调用的python脚本的print值 python test.py > out.log 2.shell 获得调用的python脚本的错误log python test.py 2> "err.txt"