[Tutor] [newbie] output formatting [using traceback to printcall stacks]

Alan Gauld alan.gauld at blueyonder.co.uk
Wed Nov 5 15:43:06 EST 2003

> > PPS. Is there a Python (or maybe Perl (!)) prog that prints the
> > stack' of a Python program? I need to analyse other peoples
> > that's why I need it.
> Hello!
> Yes; the 'traceback' module has functions that allow us to see the
> stack:

And the pdb debugger (or the one in IDLE or Pythonwin IDE's)
will let you do this too.


Alan G
Author of the Learn to Program web tutor

More information about the Tutor mailing list