Hi all,

I'm trying to profile a large collection of scripts called from a
wrapper C program through the following call:

compiled_obj = CompilePythonFile(filename);
...
PyObject* result = PyEval_EvalCode(compiled_obj, globals, globals);

Is there an easy way to wrap/edit these calls so that they invoke the
python profiler module?  I'm pretty new to python, so specific examples
or links to docs would be much appreciated.

Thanks,
Dave

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to