TKinter + display of a shell command return

Yann.K yk.suse at bullier.org
Wed Sep 8 15:11:05 EDT 2004


Eric Brunel wrote:

> What is your problem here? Inserting at the end of the text and call the
> see method on the text widget to make sure the last line is displayed
> should be enough. An update_idletasks may also be needed to actually
> display something, but it depends on the architecture of your script,
> typically on whether you use threads or not.
Yes, really it run great but no as i would!
For long process, the display wait the end of the script execution to
display all the lines of the mesage.

I would that the lines appears as soon as the shell putt the message.
So; if the treatment is very long (ie 10 min), the line of the message
appears every second (in fact h*just when they are forwarder from the
shell.

I would display the shell return like an "tail -f syslog" command on
linux...
I hope to be clearer...

Thanks for your help,

-- 
Yann.K



More information about the Python-list mailing list