[Tutor] [newbie] output formatting [using traceback to printcall
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.
> Yes; the 'traceback' module has functions that allow us to see the
And the pdb debugger (or the one in IDLE or Pythonwin IDE's)
will let you do this too.
Author of the Learn to Program web tutor
More information about the Tutor