Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: regular expression to extract exception/errors in python code baseby MonkOfAnotherSect (Sexton) |
on Sep 13, 2012 at 02:03 UTC ( [id://993342]=note: print w/replies, xml ) | Need Help?? |
Asab, I suspect that you're asking the wrong question. Grepping like that you'll miss anything uncaught but raised from standard libraries and code, etc. Suggest for python questions that you post a sufficiently detailed description/example of what you actually want to achieve on python-tutor or python-list (aka comp.lang.python). The correct answer probably involves the traceback module. -T.
In Section
Seekers of Perl Wisdom
|
|