> I'm trying to log the results of a command that I'm running via the popen2 > module to a file, while at the same time displaying its progress on the > screen.
I think you need popen3... > figure out a way to simultaneously display it to the screen, kind of like > how unix's "tee" utility works. Use tee? It's designed for this kind of thing and there are versions for Windoze too. I personally prefer to leave this kind of logging as a user option rather than embed it into my code. Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor