From: Cappy2112 on
On Jul 29, 12:39 pm, "Benjamin J. Racine" <bjrac...(a)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