Miki Tebeka wrote: > 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.)
Look at the py.io module. http://codespeak.net/py/current/doc/home.html http://codespeak.net/svn/py/dist/ -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list