mirroring text window to file

Marcel Achim marcel_achim at videotron.ca
Sat Apr 12 05:11:31 CEST 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