redirect output from embedded C module

legba newflesh at
Wed Jun 16 10:44:12 CEST 2004

> Use the API functions PySys_WriteStdout(format, ...)
> and PySys_WriteStderr(format, ...)

the main problem here is that I do not control all the code I'm using
as plugins.
I'd like people to mix existent code with my program and I can't ask
them to convert every printf with PySys_WriteStdout...


More information about the Python-list mailing list