Interactive Console in embedded Python

Lee Harr missive at
Wed Aug 6 18:16:24 CEST 2003

In article <mailman.1060177511.17310.python-list at>, Pablo Yabo wrote:
> Hi,
> I'm runing some python code from a C++ win32 application.
> I need a tool to debug the code in python that I run.
> I would like to know if I can run a interactive console to dump objects,
> etc.
> Is it possible to get the string of the error messages instead of using
> PyErr_Print?

Not sure this is what you need, but you might want to look at the code module:

More information about the Python-list mailing list