Am Sonntag, den 17.10.2004, 16:36 -0500 schrieb Skip Montanaro:
>     Marcus> I want to execute some shell commands in my python script. The
>     Marcus> output should be redirected to a gtk.TextView in real-time. How
>     Marcus> can I do this?
> 
> Use os.popen or one of its cousins, capture the output via reads on the file
> object returned, then stuff it into the TextBuffer associated with your
> TextView widget.

That I've making, now. But the text gets insert when the shell command
is finished.

Is there are not another possibility?

regard

Marcus

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to