combined functionality of ipython's %whos and pdb's next (without aresource heavy IDE)

B

Benjamin J. Racine

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
 
C

Cappy2112

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top