Getting output from embedded python program

Kim thefirstofnovember at yahoo.com
Mon Apr 19 09:54:12 EDT 2004


Hi everyone,
I'm writing a embeded python program, and I want to evaluate some
expression by calling function:

PyRun_SimpleString("print 'hello'")

I don't want to output it to stdout but putting it into string somehow
sothat I can process it.

Do anybody know how I can do that?
Thanks very much
Kim



More information about the Python-list mailing list