redirect output from embedded C module

legba newflesh at despammed.com
Wed Jun 16 04:44:12 EDT 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...

thanks,
legba.



More information about the Python-list mailing list