Reading output from standard out

Miki Tebeka miki.tebeka at zoran.com
Tue May 3 02:18:28 EDT 2005


Hello Thierry,

>    Let's say I have a python program which prints output to standard out,
>    let's call it HelloApp.  How do I capture these outputs from the
>    python GUI tkinter? For example, I want to call HelloApp from my GUI
>    program and I want to send the output live to a tkinter text area.
See os.popen or the subprocess module.

HTH.
--
------------------------------------------------------------------------
Miki Tebeka <miki.tebeka at zoran.com>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050503/d353e93b/attachment.sig>


More information about the Python-list mailing list