Getting terse tracebacks?

Roy Smith roy at panix.com
Sun Jan 1 18:58:37 EST 2006


Is there any way to make the traceback printer built into the
interpreter elide all the directories in pathnames (like strip_dirs()
does for the profiler)?

I'm working in a deep directory tree, and the full pathnames to my
python source files are pushing 150 characters.  I either need a
laptop with a wider screen, or younger eyes so I can read a smaller
font :-)



More information about the Python-list mailing list