show in GUI stdout of a command

Ian Parker parker at hiredatum.demon.co.uk
Sun Dec 25 04:47:27 EST 2005


In message <43a6fa19$0$288$636a55ce at news.free.fr>, twigster 
<twigsterREMOVE at THISmelix.net> writes
>Hi,
>
>I need to display in real time the output of a command line tool in a 
>GUI written so far with Tkinter and Pmw. I've got a command line tool 
>that I want to integrate to a GUI. The parameters are set using the GUI 
>and a button executes the command. The calc is long so I need to see 
>how fast it goes. This is given by the stdout...
>
>any idea how to do this?
>
>thanks
>Alexandre

Full of Christmas spirit, I'll suggest a look at
     http://lfw.org/python/Console.py
I find it a few days ago when I was hunting for a way to "print" to the 
tkinter window rather than stdout.

Regards
-- 
Ian Parker



More information about the Python-list mailing list