How to remove ellipses from long paths in traceback?

Christian Heimes lists at cheimes.de
Fri Jan 13 01:09:53 EST 2012


Am 13.01.2012 05:34, schrieb Jason Veldicott:
> Hi,
> 
> Long paths in python traceback are contracted with ellipses.  eg:
>   TclError: couldn't load library "C:/Python26/tcl/tk8.5/../../bin/tk85.dll"
> 
> Is there any way to see the full path?

The dots don't look like an ellipses to me. An ellipses has three dots
"...". It might be an unnormalized path. In paths two dots mean parent
directory, so the path references C:/Python26/bin/tk85.dll.

Christian




More information about the Python-list mailing list