Hi.
I want to write the output of os.popen('command') to a gtk.TextView.But I don't know how. :(
If I use
for line in os.popen('command').readlines():
textview.insert_at_cursor(line)I must wait untils 'command' has finished.
Is there a better way? Is it not possible to wrote the output directly to a gtk.TextView?
I have found some documentation about pipes or related things. But because my english isn't very good I doesn't understand it realy.
Have anyone a hint for me?
regards 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/
