Reading my own stdout

Miki Tebeka miki.tebeka at zoran.com
Sun Aug 21 08:38:45 EDT 2005


Hello All,

I have a windows app (wxPython) that uses a C DLL (via SWIG).
The C DLL emits a lot of information using "printf" and I'd like to catch
this output and show it in the GUI.

How can I do this? (OS is winXP).

(The only option I see now is to do a "-Dprintf=my_log_function"
which I don't like.)

Thanks.
--
------------------------------------------------------------------------
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/20050821/6b9d1aa8/attachment.sig>


More information about the Python-list mailing list