471,328 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Embedding interactive interpreter

Hi. I am trying to embed an interactive interpreter in a C++
application. I need to capture the output of int
PyRun_InteractiveOne(FILE *fp, const char *filename). Is redirecting
sys.stdout and sys.stderr after initializing the interpreter the best
way to do this?


Jun 5 '07 #1
0 771

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.