Oh. Never mind, then.
--
http://mail.python.org/mailman/listinfo/python-list
Will Ware wrote:
>I was fooling with some Python code, and starting to miss the
> Exception.printStackTrace() feature in Java.
traceback.print_exc()
--
http://mail.python.org/mailman/listinfo/python-list
I was fooling with some Python code, and starting to miss the
Exception.printStackTrace() feature in Java. Here is a stab at
something roughly analogous, which puts together a stacktrace
as an XML document.
import xml.dom.minidom
class Stacktrace(xml.dom.minidom.Document):
def __init__(self):