Jun-23-2023, 06:59 PM
Assume I want to write something from inside a *.py script to screen AND into file D:\tools\python\myoutput.log
How can I achive this WITHOUT executing the same command twice?
Is there something linke a "tee" command similar to
print ("hello") | >D:\tools\üython\myoutput.log
How can I achive this WITHOUT executing the same command twice?
Is there something linke a "tee" command similar to
print ("hello") | >D:\tools\üython\myoutput.log