Tiger12506 wrote:
>> If you literally want print statements to appear in a dialog then no,
>> you can't do that (so far as I know!). But if you want the Tkinter
> 
> Alan??? Redirect standard output. It doesn't have to be a file object. It 
> can be any object with a write method. 

Another way to do this, if you have control over the print statements, 
is to use the logging package for output. It's not hard to make a log 
handler that captures the messages and outputs them to a GUI panel.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to