I run some code in python on windows and I get an error of " 'tee' is not recognized as an internal or external command, operable program or batch file. "
result = './model/%s/result.txt' % opt.name # path of result.txt file
os.system('python evaluate_gpu.py | tee -a %s' % result)
I know tee does not exist on windows can anyone help me and write replace code for windows version
Thank all