Extracts Python Tracebacks from text