Cactching Stdout

Massi massi_srb at
Wed Nov 8 10:09:41 CET 2006

Hi everyone! I'm writing a python script which uses a C-written dll. I
call the functions in the dll using ctypes, but I don't know how to
catch the output of the "printf" which the C functions use. In fact I
don't even know if it is possible! I've heard something about PIPE and this what I need? How can I use them? It is very important
for me that I could take the output in real-time.
Thanks for the help!

More information about the Python-list mailing list