Using printf in a C Extension
Just
just at xs4all.nl
Fri Dec 9 05:52:58 EST 2005
In article <4398d41d$1 at news3.es.net>, user at domain.invalid wrote:
> I am extending python with C and trying to debug with printf. The code
> below succssfully returns the string "hello" when compiled and called,
> but the "can print from in here phrase" does not reach python stdout.
> Is there something screwy with my environment or is there some trick to
> this that I don't know. Any help would be greatly appreciated!
Have a look at PySys_WriteStdout().
Just
More information about the Python-list
mailing list