Hi, I was wondering if there's an existing solution other than writing to both a file and an output text window (Tk text widget), as in : text_window.insert('end', output) log_file.write(output) thanks Marcel