This seems like a basic feature missing from std.file:<div><br></div><div><a href="http://docs.python.org/2/library/os.path.html">http://docs.python.org/2/library/os.path.html</a><br><div>os.path.realpath(path)</div><div>Return the canonical path of the specified filename, eliminating any symbolic links encountered in the path (if they are supported by the operating system).</div>
</div>