Getting stdout from ctypes module

Massi massi_srb at msn.com
Fri Mar 2 05:54:55 EST 2007


Hi everyone, I have a program which is written in C and interfaced
with python via
Ctypes.  The functions I call print stuff out to the console, using
the usual function printf. I would like to know if it is possible to
redirect the output of my C module to python. I'm working on windows
environment. Thanks in advance.




More information about the Python-list mailing list