Tom Anderson wrote:
> Java has a java.io.File.getCanonicalPath method that does this, but i
> can't find an equivalent in python - is there one?
> 
> I can emulate it like this:

I think it could be implemented more efficiently with getattrlist(2),
looking for ATTR_CMN_NAME. Unfortunately, there appears to be no wrapper
for this function.

Alternatively, you might also find macos.GetFullPathname useful,
although I'm uncertain as to how precisely it is used.

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to