En Sat, 12 Dec 2009 02:11:27 -0300, Horace Blegg <tkjthing...@gmail.com> escribió:

I wonder if I could cook something up with PyRun_SimpleString("import pdb;
pdb.set_trace()"). This bears investigation!

pdb is a debugger, and provides a lot more than you're looking for, I presume.
You may want to look at the code [1] and cmd [2] modules too.

[1] http://docs.python.org/library/code.html
[2] http://docs.python.org/library/cmd.html

--
Gabriel Genellina

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

Reply via email to