David Goldsmith wrote:
But if you're using TK anyway, why not dump your output to a TK text
widget It will look "classier"


Wouldn't I need to be constantly updating the widget for the new text
to get flushed to it (something that stdout -> console does for me
automatically)?

well, I think I"d write a subclass of the text widget that has a "write" method, that adds the new text and calls .Update() (or whatever it os for Tk). Then you could just drop it in place of stdout. In fact, it's likely someone has already written such a thing for Tk.

wxPython comes with "Pyshell" or "PyCrust" or somethignn like that that provides a console.

David, are you still game?

Unfortunately, I've gotten pretty busy since last we talked about
it--I think I have to renege.  Sorry. :-(

Oh well -- I've got plenty of material to fill the time, ai think. And Matt Stumbach may help out.

I hope it's a good busy!

Maybe something in the future,

-Chris




--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

Reply via email to