1

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

Amro
125k25 gold badges250 silver badges466 bronze badges
asked May 11, 2011 at 11:21

1 Answer 1

3

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.

answered May 11, 2011 at 11:45
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.