Python: How to write log and print to screen at the same time?

后端 未结 0 399
情话喂你
情话喂你 2020-12-01 00:53

I\'m writing a buildscript. I want to log everything that is going on, but I also want to see everything while it is running. What\'s the best practice to do this?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题