combined functionality of ipython's %whos and pdb's next (without a resource heavy IDE)
Cappy2112
cappy2112 at gmail.com
Thu Jul 29 20:58:17 EDT 2010
On Jul 29, 12:39 pm, "Benjamin J. Racine" <bjrac... at glosten.com>
wrote:
> I am trying to combine the ability to move line-by-line through the code as is done with pdb's "next" function with ipython's ability to list all variables at once... without the use of a full-fledged IDE.
>
> I am not seeing how this might be done. Many thanks for your help...
>
> Ben Racine
Ben
You can actually use the sys module to do this, with just a few lines
of code.
This article shows you how
http://www.doughellmann.com/PyMOTW/sys/tracing.html
More information about the Python-list
mailing list