embedding: how do I redirect print output?

Ulrich Eckhardt ulrich.eckhardt at dominolaser.com
Wed Jul 6 02:24:25 EDT 2011


Steven D'Aprano wrote:
> Why do you think it [sink for use as sys.stdout] needs to be in C? As
> far as I can tell, so long as it quacks like a file object (that is,
> has a write method), it should work.

Good point & thanks for the example fish!

Uli


-- 
Domino Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932




More information about the Python-list mailing list