"Tony Cappellini" <[EMAIL PROTECTED]> wrote > The author of the cmd line app suggested I temporarily replace > sys.stdout'with a file descriptor class that can write directly to > the > gui'.
I'm not sure that would be such a great idea since the command line tool knows nothing about the GUI - size, height, fonts etc. A more common approach would be to use popen() to capture the output as a string and then the GUI can format it appropriately for display. popen effectively captures stdout (and stderr if needed). Of course to be totally 'correct' you should use the new subprocess module to do the same thing... I suspect that is both easier and would give a better quality result to your users. Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor