Re: [Tutor] how to display terminal messages indialog windowusingtkinter

2008-02-22 Thread Kent Johnson
Alan Gauld wrote: > I don't know of any way to turn vanilla print statements into GUI > visible > strings. Even redirecting stdout would require the creation of some > kind > of custom widget that wrote to the GUI. (But I'd love to be wrong! :-) OK I'll bite. You don't need a custom GUI widget,

Re: [Tutor] how to display terminal messages indialog windowusingtkinter

2008-02-22 Thread Alan Gauld
"Kent Johnson" <[EMAIL PROTECTED]> 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 wi