Interactive Console in embedded Python

Lee Harr missive at frontiernet.net
Wed Aug 6 12:16:24 EDT 2003


In article <mailman.1060177511.17310.python-list at python.org>, 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:

http://python.org/doc/current/lib/module-code.html





More information about the Python-list mailing list