Prev: Enabling/Disabling remote desktop - programmatically
Next: Builtn super() function. How to use it with multiple inheritance? And why should I use it at all?
From: Cappy2112 on 29 Jul 2010 20:58 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 |