mirroring text window to file

Marcel Achim marcel_achim at videotron.ca
Fri Apr 11 23:11:31 EDT 2003


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





More information about the Python-list mailing list