Jun-24-2023, 07:37 AM
Simple answer: the OP wanted to log to myoutput.log:
Quote:Assume I want to write something from inside a *.py script to screen AND into file D:\tools\python\myoutput.log