SWIG C++ std::cout do not output to interactive interpreter IDLE
wongjoekmeu at yahoo.com
wongjoekmeu at yahoo.com
Tue Apr 22 12:06:34 EDT 2008
Dear All,
I have some functions written in C++, which I try to approach from
python using swig. In the C++ functions I use std::cout to print stuff
to output. Everything works fine, but the only problem that I have is
that when I start IDLE and use the functions what std::cout should
print to the "IDLE console" simply does not appear. When I don't use
IDLE but simply double click on the .py script, it works all fine. I
was wondering how I could make sure that std::cout would print also to
IDLE. Thanks a lot in advance for helping to answer my question.
RR
More information about the Python-list
mailing list