calling a method from a python interpreter
<p>per Voo's advice on this thread:</p>

<p><a href="http://stackoverflow.com/questions/7033612/how-can-i-hook-into-python-from-c-when-it-executes-a-function-my-goal-is-to">How can I &quot;hook into&quot; Python from C++ when it executes a function? My goal is to profile</a></p>

<p>I have opened up a new thread for a new question, which is, in C++, how can I initialize a PythonInterpreter and then call a method from it. Specifically, I'd like to be able to call cProfile's methods and also get data from it.</p>
