首页 > 技术文章 > 在linux终端执行python3 xxx.py文件打印的日志输出到指定文件

tarzen213 2022-02-17 09:57 原文

python a_script.py 2>&1 | tee a.log

推荐阅读