up vote 0 down vote favorite
share [fb]

Where does Python print to, if the print statement is in a python function, called from C\C++ in an embedded Python configuration?

link|improve this question

78% accept rate
feedback

1 Answer

up vote 1 down vote accepted

In python, the print statement writes into sys.stdout (which is the standard output) even in an embedded app, you should see your prints in the console that started the application.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.