evaluating object returned by PyParser_SimpleParseString fun ction

Borse, Ganesh ganesh.borse at credit-suisse.com
Fri Nov 16 00:33:09 EST 2007


Thanks for this.

>>Terry>>Compile the string into a code object. Code objects can be executed by an exec statement or evaluated by a call to eval().
Can I call exec() or eval() as is from C or C++ program?
What the equivalent calls for this in Python-C API?
That's what I want to know.

Regards,
Ganesh

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================




More information about the Python-list mailing list