Other way around (python prints through C). Either way, I’d use fprintf(stderr, …). The assumption here is of course that apache dups the file descriptors to redirect output (which is by far the easiest thing to do).
Other way around (python prints through C). Either way, I’d use fprintf(stderr, …). The assumption here is of course that apache dups the file descriptors to redirect output (which is by far the easiest thing to do).