004windows输入输出重定向

一、需求

需要把训练的结果记录下来,命令如下:

python .\validate.py  >>  record/88888/result.txt 2>&1

二、

windows下的cmd的重定向用法和Linux下的shell相同:

Reference: https://blog.csdn.net/RadiantJeral/article/details/80849527

原文地址:https://www.cnblogs.com/itcomputer/p/15722904.html