[C++-sig] Embedded Python Terminal Output

Thomas Hrabe thrabe at burnham.org
Thu May 8 19:16:16 CEST 2008


Ok, and how would I do that? 
What other Python class will I choose then?



-----Original Message-----
From: c++-sig-bounces at python.org on behalf of Nat Goodspeed
Sent: Wed 5/7/2008 7:28 PM
To: Development of Python/C++ integration
Subject: Re: [C++-sig] Embedded Python Terminal Output
 
Thomas Hrabe wrote:

> I was wandering how one could catch the terminal output of an embedded 
> python interface?

The straightforward thing would be to replace Python's sys.stdout with a 
Python class of your choice.
_______________________________________________
C++-sig mailing list
C++-sig at python.org
http://mail.python.org/mailman/listinfo/c++-sig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20080508/a9011681/attachment.htm>


More information about the Cplusplus-sig mailing list